forked from pyomeca/pyosim
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (27 loc) · 934 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
32
# Config file for automatic testing at travis-ci.org
language: python
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 config --set auto_update_conda no
- conda update -q conda
install:
- curl -L https://github.com/pyomeca/conda_recipes/raw/master/pyosim/meta.yaml --create-dirs -o ./conda.recipe/meta.yaml
- cd conda.recipe
- conda install conda-build anaconda-client pytest pytest-cov
- conda build . --no-test -c pyomeca
- cd ..
- conda install --use-local pyosim -c pyomeca
- conda info -a
script:
- pytest -v --color=yes --cov=pyosim tests
after_success:
- conda install -c conda-forge codecov
- codecov
notifications:
email:
on_success: never
on_failure: always