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
|
|
|
|
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
|
|
|
|
- chmod +x miniconda.sh
|
|
|
|
- ./miniconda.sh -b
|
|
|
|
- export PATH=/home/travis/miniconda/bin:$PATH
|
|
|
|
- conda update --yes conda
|
|
|
|
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy
|
2015-04-26 16:05:40 +02:00
|
|
|
- python --version
|
|
|
|
- pip freeze
|
2015-04-26 15:49:36 +02:00
|
|
|
install:
|
2015-04-26 15:55:20 +02:00
|
|
|
- travis_retry python setup.py develop
|
2015-04-26 15:49:36 +02:00
|
|
|
script:
|
|
|
|
# Create wheel pacakge
|
2015-04-26 15:55:20 +02:00
|
|
|
- travis_wait python setup.py test
|
|
|
|
cache: apt
|