forked from booya-at/OpenGlider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 839 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
language: python
env:
- PY_VERSION=3.6
- PY_VERSION=3.7
- PY_VERSION=3.8
install:
- sudo apt-get update
- 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 --add channels conda-forge
- conda update -q conda
- conda info -a
- conda create -q -n test-environment python=$PY_VERSION ezdxf ezodf lxml meshpy numpy svgwrite coveralls flake8
- source activate test-environment
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
- python setup.py install
script:
- python testall.py
- coverage run testall.py
after_success:
- coveralls