-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
44 lines (37 loc) · 1.55 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
44
language: python
python:
- '3.5'
- "3.6"
notifications:
email: false
addons:
apt:
packages:
- graphviz
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 update -q conda
- conda info -a
install:
- conda create --yes -q -n test-env python=$TRAVIS_PYTHON_VERSION
- source activate test-env
- conda install -c conda-forge pytest pytest-runner
- pip install pygraphviz
- python setup.py build
- python setup.py install
script:
- python setup.py test
deploy:
provider: pypi
#server: https://testpypi.python.org/pypi
distributions: "sdist bdist_wheel"
user: brendt
password:
secure: nsBVXmfIrUIf2SNkpFTUmugNWRnZMyqdKfva6RYpHkWhZdGEAQDewlU6QNt9wd9rZWvS3wn2cK0YKr+irZ+XJcZFhXuaHba7Weo5vwchlono/gr45O07N4+hkE8ojL3sB14wnOrKUSsydYviPdTBZ++StCqaWoHtIDOFdILj9+bwq9xVp1WBFZVBA5FGc38RC0GXbWMiOPKDWHH1ciUlMdE6iT5wnSQf0opOj4rV7/xyYQy1g94UXyCRdwmOOeGYvuYx/kv9R6WzTEs9Li34fyoPD3rBG0JPWFaraistN4Z4j40+nGWhS2N9sZogLZYNjExeACH02o9kpgBm7HDsweb6lvTSHumrnW/wx1GbS04zhQ2QFJqbLrjWTdRp8Jrq2yhJvttEWI2WDwfbdL820rB5RQqoExEjEyxkFWjM8n45xD1iM/wKz2Oe2BmX+Pm3CacMTC9mcVQ1ubNr4MoYfcB4KXkI+sT5M16bRY77o7+Dm6UpuCojmZbHeyrwtcVxom+b6G6w5pzdeCLoEus/z1ppfc4sR7rc6vO7OZ7AdF9n5EkjU9D9sAxzu0f/x51zBsRu3B/R+0i+uEPdFOIxLZwzIXe0Sw3sEU+mveOSrkybzWbd6ukplbEB20mrDdbeQdkk4yguvBiZkeKH4Oyqn1HoYmMbpbkYI3LGyeS4LfA=
on:
tags: true
branch: master