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 1
1
language : python
2
2
os :
3
3
- linux
4
- - osx
5
4
python :
6
5
- " 2.7"
7
6
- " 3.4"
8
7
# does not have headers provided, please ask https://launchpad.net/~pypy/+archive/ppa
9
8
# maintainers to fix their pypy-dev package.
10
9
# - "pypy"
11
10
before_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
16
12
# command to install dependencies
17
13
install :
18
14
- pip install -r requirements.txt
19
15
- python setup.py install
20
16
# command to run tests
21
17
matrix :
22
18
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
31
19
- os : osx
32
- language : generic
33
- env : TOXENV=py3
20
+ language : python
21
+
34
22
script : 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