File tree Expand file tree Collapse file tree 1 file changed +11
-25
lines changed Expand file tree Collapse file tree 1 file changed +11
-25
lines changed Original file line number Diff line number Diff line change @@ -5,42 +5,28 @@ matrix:
5
5
# Linux Python 2
6
6
- sudo : required
7
7
language : python
8
- services :
9
- - docker
10
- env :
11
- - " PYTHON=python2"
8
+ python : 2.7
9
+ services : docker
10
+ env : PYTHON=python
12
11
13
12
# Linux Python 3
14
13
- sudo : required
15
14
language : python
16
- services :
17
- - docker
18
- env :
19
- - " PYTHON=python3"
20
- before_install :
21
- - sudo apt-get -qq update
22
- - sudo apt-get install -y python3-pip
15
+ python : 3.4
16
+ services : docker
17
+ env : PYTHON=python
23
18
24
19
# macOS Python 2
25
20
- os : osx
26
- env :
27
- - " PYTHON=python2"
21
+ env : PYTHON=python2
28
22
29
23
# macOS Python 3
30
24
- os : osx
31
- env :
32
- - " PYTHON=python3"
25
+ env : PYTHON=python3
33
26
before_install :
34
27
- brew update
35
28
- brew outdated python || brew upgrade python
36
29
37
- script :
38
- - |
39
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
40
- $PYTHON -m pip install -r requirements-dev.txt
41
- $PYTHON ./bin/run_tests.py
42
- else
43
- # linux test requires root to clean up the wheelhouse (docker runs as root)
44
- sudo $PYTHON -m pip install -r requirements-dev.txt
45
- sudo $PYTHON ./bin/run_tests.py
46
- fi
30
+ install : $PYTHON -m pip install -r requirements-dev.txt
31
+
32
+ script : $PYTHON ./bin/run_tests.py
You can’t perform that action at this time.
0 commit comments