-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
31 lines (30 loc) · 935 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
version: ~> 1.0
language: python
dist: jammy
before_install:
- pip install poetry
install:
- python -m pip install -e ".[test]"
# install conda for plugin management
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- source "$HOME/miniconda/etc/profile.d/conda.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- pip list
jobs:
include:
- stage: "PR Build"
name: "Python 3.11"
python: 3.11
script:
- pytest -m "not requires_gpu and not memory_intense and not slow and not travis_slow"
if: type = pull_request
- stage: "Branch Build"
name: "Python 3.11"
python: 3.11
script:
- pytest -m "not pr_only and not requires_gpu and not memory_intense and not slow and not travis_slow"
if: type = push