forked from FZJ-IEK3-VSA/geokit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (21 loc) · 676 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
# Modified from
# https://github.com/PyPSA/PyPSA/master/.travis.yml
language: python
sudo: false
before_install:
- 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 update -q conda
- conda info -a
install:
- conda env create --file=requirements.yml -n geokit_testing
- source activate geokit_testing
- conda install pytest-cov codecov
- pip install -e .
script:
- pytest --cov geokit --cov-report term-missing geokit/test
after_success:
- codecov