Revision 917ec2aaf1736fc502e4f4025ece909f0ccfd6fa authored by skgg on 03 April 2017, 09:05:43 UTC, committed by skgg on 03 April 2017, 09:05:43 UTC
2 parent s a1b69a6 + 7a1bb28
Raw File
.travis.yml
language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7-dev"
  - "nightly"
os:
  - linux
  - osx
sudo: required
dist: trusty
matrix:
  allow_failures:
    - os: osx           # Python 3 not supported in Travis OSX environment
    - python:
      - "nightly" # SciPy bug
      - "3.7-dev"

notifications:
  email: false

cache:
  directories:
    - $HOME/.cache/pip

before_install:
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then
      brew update;
      brew tap homebrew/science;
      brew install openblas;
    else
      sudo apt-get update -qq;
      sudo apt-get install -y build-essential gfortran libatlas-base-dev liblapacke-dev;
      sudo apt-get install -y python3-dev;
    fi
  - python -V
  - travis_retry pip install --upgrade pip wheel   # get pip >= 7, which caches built packages
  - travis_wait 20 pip install -r requirements.txt
  - pip install coverage
  - pip install codecov
  - pip install pylint
install:
  - ./setup.py build_ext --inplace
script:
  - python -m unittest -v
  - coverage run --source libact --omit */tests/* setup.py test
  - coverage report
after_success:
  - pylint libact
  - codecov
back to top