2015-04-26 15:55:20 +02:00
|
|
|
language: python
|
2015-04-26 15:49:36 +02:00
|
|
|
python:
|
|
|
|
- "3.4"
|
|
|
|
# Only build master branch
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-04-26 15:55:20 +02:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
2015-04-26 16:11:19 +02:00
|
|
|
install:
|
2015-04-26 16:10:11 +02:00
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then sudo apt-get install python-numpy; fi
|
|
|
|
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then sudo apt-get install python3-numpy; fi
|
2015-04-26 16:11:19 +02:00
|
|
|
- travis_retry python setup.py develop
|
2015-04-26 16:05:40 +02:00
|
|
|
- python --version
|
|
|
|
- pip freeze
|
2015-04-26 15:49:36 +02:00
|
|
|
script:
|
2015-04-26 15:55:20 +02:00
|
|
|
- travis_wait python setup.py test
|
|
|
|
cache: apt
|