File tree Expand file tree Collapse file tree 2 files changed +18
-15
lines changed
Expand file tree Collapse file tree 2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 11language : python
22os :
33 - linux
4- - osx
54python :
65 - " 2.7"
76 - " 3.4"
87 # does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
98 # maintainers to fix their pypy-dev package.
109 # - "pypy"
1110before_install :
12- - ' if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo apt-get update -q ; fi'
13- - ' if [[ "$TRAVIS_OS_NAME" == "linux" ]]; sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev; fi #gfortran'
14- - ' if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi'
15- - ' if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python; fi'
11+ - ./.travis/before_install.sh
1612# command to install dependencies
1713install :
1814 - pip install -r requirements.txt
1915 - python setup.py install
2016# command to run tests
2117matrix :
2218 include :
23- - os : linux
24- sudo : required
25- python : 3.2
26- env : TOXENV=py32
27- - os : linux
28- sudo : required
29- python : 3.3
30- env : TOXENV=py33
3119 - os : osx
32- language : generic
33- env : TOXENV=py3
20+ language : python
21+
3422script : python test/test_load_module.py -v
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [[ $TRAVIS_OS_NAME == ' osx' ]]; then
4+
5+ # Install some custom requirements on OS X
6+ # e.g. brew install pyenv-virtualenv
7+ brew update
8+ brew install python
9+
10+
11+ else
12+ # Install some custom requirements on Linux
13+ sudo apt-get update -q
14+ sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev
15+ fi
You can’t perform that action at this time.
0 commit comments