File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
3
- python :
4
- - 2.7
5
-
6
3
sudo : false
7
4
8
5
os :
9
6
- osx
10
7
- linux
11
8
9
+ matrix :
10
+ include :
11
+ # Use the built in venv for linux builds
12
+ - os : linux
13
+ sudo : required
14
+ python : 3.5
15
+ # Use generic language for osx
16
+ - os : osx
17
+ language : generic
18
+ # Perform the manual steps on osx to install python3 and activate venv
12
19
before_install :
20
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
21
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi
22
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then virtualenv venv -p python3; fi
23
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source venv/bin/activate; fi
13
24
- if [ $TRAVIS_OS_NAME == "linux" ]; then
14
25
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
15
26
sh -e /etc/init.d/xvfb start;
You can’t perform that action at this time.
0 commit comments