.travis.yml 806 Bytes
Newer Older
1
2
language: python
python:
3
4
5
#  - "pypy"
#  - "pypy3"
#  - "2.6"
6
  - "2.7"
7
8
9
10
11
  - "2.7_with_system_site_packages"
  - "3.2"
  - "3.2_with_system_site_packages"
  - "3.3"
  - "3.4"
12
before_install:
13
  - sudo apt-get update -qq
14
  - sudo apt-get install -qq gcc liblapack-dev libatlas-base-dev libgsl0-dev fftw-dev libglpk-dev libdsdp-dev
15
  - if [[ $TRAVIS_PYTHON_VERSION != *"with_system_site_packages" ]]; then sudo apt-get install -qq gfortran; fi
16
17
  - if [[ $TRAVIS_PYTHON_VERSION == "2.7_with_system_site_packages" ]]; then sudo apt-get install -qq python-numpy python-scipy; fi
  - if [[ $TRAVIS_PYTHON_VERSION == "3.2_with_system_site_packages" ]]; then sudo apt-get install -qq python3-numpy python3-scipy; fi
18
19
install:
  - pip install "file://$PWD#egg=pymdptoolbox[LP]"
20
21
# command to run tests
script: nosetests