forked from PSLmodels/Tax-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
29 lines (26 loc) · 818 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: xenial
language: python
python:
- "3.6"
- "3.7"
- "3.8"
install:
# Install conda
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda update conda
- conda create -n taxcalc-dev python=$TRAVIS_PYTHON_VERSION;
- source activate taxcalc-dev
- conda env update -f environment.yml
- pip install pyyaml
- pip install pytest-pycodestyle
- pip install coverage
- pip install codecov
- python setup.py install
# command to run tests
script:
- python -c "import taxcalc"; coverage run -m pytest -v -m "not requires_pufcsv and not pre_release and not local" --pycodestyle
after_success:
- codecov