-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy path.travis.yml
43 lines (40 loc) · 1.22 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
dist: xenial
language: python
cache: pip
python:
- "3.7"
notifications:
email: false
before_install:
- sudo apt-get update
- sudo apt-get -y install python-pip
- pip install --upgrade pip
- pip install pep8
- pip install autopep8
- 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"
- conda config --set always_yes yes --set changeps1 no
- conda install setuptools
- conda install conda
- conda update --force conda
- conda info -a
- conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
- source activate test-environment
- export LD_LIBRARY_PATH=$HOME/miniconda/envs/test-environment/lib/:$LD_LIBRARY_PATH
- conda install numpy
- conda install numba
- pip install -r requirements-dev.txt
script:
- >
pycodestyle --max-line-length=85
--ignore=E221,E241,E225,E226,E402,E722,E741,E272,E266,E302,E731,E702,E201,E129,E203,E202,W503,W504
ssqueezepy
- pytest -s --cov=ssqueezepy tests/
after_success:
# Combine coverage reports from Travis jobs
- coverage combine --append
- coveralls
notifications:
webhooks:
- https://coveralls.io/webhook