-
Notifications
You must be signed in to change notification settings - Fork 56
/
.travis.yml
36 lines (34 loc) · 1.02 KB
/
.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
32
33
34
35
36
os: linux
dist: jammy
language: minimal
notifications:
email:
on_success: change
on_failure: always
jobs:
include:
- stage: test
name: "conda linux"
os: linux
dist: jammy
env: TEST_PROFILE="proteus-conda"
install:
- git lfs pull
- sudo apt-get update
- wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh -O miniforge3.sh;
- bash miniforge3.sh -b -p $HOME/miniforge3
- source "$HOME/miniforge3/etc/profile.d/conda.sh"
- source "$HOME/miniforge3/etc/profile.d/mamba.sh"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- mamba init
- mamba update -q conda mamba
- mamba info -a
- mamba env create -f environment-dev.yml
- mamba activate proteus-dev
- pip install -v . --no-build-isolation --no-binary=":all:"
script:
- export MPLBACKEND="AGG"
- mkdir test_output
- cd test_output
- py.test -v --forked --import-mode=importlib ../test