forked from DamCB/tyssue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (25 loc) · 809 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
dist: focal
before_install:
- sudo apt-get update
- sudo apt-get install --yes build-essential
- sudo apt-get install --yes git
- sudo apt-get install libmpfr-dev libgmp-dev libboost-all-dev
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda init bash
- conda info -a
- conda env create -q -f environment.yml
- source activate tyssue
- conda install pytest pytest-cov
- pip install coveralls nbval
install:
- python setup.py install
script:
- rm tests/draw/test_vispy.py
- make coverage
# push results to CodeCov
after_success:
- bash <(curl -s https://codecov.io/bash)