forked from PMEAL/OpenPNM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (30 loc) · 872 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
33
34
35
36
37
38
sudo: false
language: python
python:
- "3.4"
- "3.5"
- "3.6"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- 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"
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION --file requirements.txt
- pip install -r test_requirements.txt
- python setup.py install
script:
- ./bin/test pep8 cov
after_success:
- codecov
notifications:
email: false
deploy:
provider: pypi
distribution: sdist
user: jgostick
password:
secure: kFTCsi4mSzZgasxKRIjAk2/Y/GvasoecrwCDiwoxFSwpbW6K1TPiSHZgBrlwFyZt3F7/1zXA+Ji5Oi6jXfhdpIiyOk70Ht1G9DRQ/yBvVKjLUM87qxAYRGDrXNQor4oRsWg2J+VdYUx3tUck2vp8hh873HP0uAGmcaWNHv3TxhA=
tags: true
branch: master