forked from graphistry/pygraphistry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.63 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
language: python
cache: pip
python:
- 2.7.13
- 3.6
install:
- pip install flake8 pytest pyopenssl
before_install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,pandas numpy pandas
- sudo add-apt-repository ppa:igraph/ppa -y
- sudo apt-get update -q
- sudo apt-get install python-igraph -y
- if [[ $TRAVIS_PYTHON_VERSION == 2.7.13 ]]; then pip install IPython==5.0; fi
- python setup.py install
before_script:
# stop the build if there are Python syntax errors or undefined names
- time flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- time flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- python setup.py test
notifications:
on_success: change
on_failure: always
deploy:
provider: pypi
skip_existing: true
on:
tags: true
user: graphistryAccount
password:
secure: iJ+xTpVYYLT1srCvn/b0+uiHLjGnBPI6dHBnISiSRRjyaGrZEtwqM2omf03IA1/LVoRTN6lSuCTcDpqisaMpHRkQWHEZFs7cuXbVxV5jvIlCY14PuAJG0K6AEcbnij2MkfR06Tqycp2H64A1UhASu9B27TnD/lngRSZzTlS0WpivGKsaNHuKTNv6GKE3RhB+5SahmpIzmWKSx6jmeEMARxx0XawZKBI4my4DgsMB+6/UIYazDQJTnPsWQnoJm5zVu2ZANCL7f+xnwLSsUZ6CeSdUi1CPwMr3KYvRlMOZnpxO2ZwYFt1niAcvnnTrEL3VZv+gxjp8dSMC2ZdiOdUgfWDJPxeH51IkpXckiVlK2F20109ovfeNPAK8MitDuOdB9jpCYyAh9ELqgJ0qOwSwkY5sgipUHEebqO7RRrZ45TtAkXp4nNzW9h9agXHvx9WTnwCE+2bXALCt79nmr9Q58kEUtyalTPhJWecVocFLJ/z05lu3AwlvYjwiI9rJpMnyVVHCTfpNgbIcUQwesCZrTTabQI2fl0yvRaZxJ/dcZgjfZnyfz0+miaAV9He19fQnxYdyfERo6yGv0okERuugvQx7MDPqdtIKELCg7+aKP9OTEpFvX87Bo4065v/fx6aPXHkEoZqjhhKFpIiGt4aqaWifTDGX2/aw9ODgbLXauCE=