mirror of
https://github.com/vale981/jobmanager
synced 2025-03-05 09:51:38 -05:00
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
language: python
|
|
env:
|
|
global:
|
|
- GH_REF: github.com/cimatosa/jobmanager.git
|
|
- secure: Q3YVqRTs3QLspdzHgYMMuOoMypn7yetkb7v0LFe/68AwxZAwEkpCF24FHL/cEH9khc99AGbDIST81undY6kJLWLEDHYIWaoKUbC8OmaT7H6MUdfLtznsv1NnOLut9Z3So/mTMGQHCmTga9NKsuFpDMxg/oxp3wS915ar6+PLh3w=
|
|
notifications:
|
|
email: false
|
|
python:
|
|
- '3.4'
|
|
- '2.7'
|
|
matrix:
|
|
allow_failures:
|
|
- python: '2.7'
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
|
|
- wget https://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 scipy matplotlib
|
|
install:
|
|
- travis_retry pip install sqlitedict
|
|
- travis_retry pip install psutil
|
|
- pip freeze
|
|
script:
|
|
- netstat -tulpen
|
|
- travis_wait python setup.py test
|
|
after_success:
|
|
- git config credential.helper "store --file=.git/credentials"
|
|
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then travis_retry conda install --yes sphinx; fi
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install numpydoc; fi
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python doc/deploy_ghpages.py; fi
|