.travis.yml 886 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
15
16
17
18
  - sudo apt-get install -qq gcc gfortran liblapack-dev libatlas-base-dev libgsl0-dev fftw-dev libglpk-dev libdsdp-dev
  - if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then sudo apt-get install -qq python-dev; fi
  - 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" ]]; then sudo apt-get install -qq python3-dev; fi
  - if [[ $TRAVIS_PYTHON_VERSION == "3.2_with_system_site_packages" ]]; then sudo apt-get install -qq python3-numpy python3-scipy; fi
19
20
install:
  - pip install "file://$PWD#egg=pymdptoolbox[LP]"
21
22
# command to run tests
script: nosetests