Skip to content

Commit 426e0f5

Browse files
cancan101loli
authored andcommitted
Use non sudo travis (loli#58)
* Use non sudo travis * cache pip * Update Python3 versions * drop 2.6 support * add apt installs * Use trusty * Update .travis.yml
1 parent 289b705 commit 426e0f5

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.travis.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
# config for travis-ci
22
language: python
3+
sudo: false
4+
dist: trusty
35
python:
4-
- "2.6"
56
- "2.7"
6-
- "3.2"
7-
- "3.3"
87
- "3.4"
9-
before_install:
10-
- "sudo apt-get install build-essential"
11-
- "sudo apt-get update"
12-
- "sudo apt-get install python-scipy"
13-
- "sudo apt-get install libboost-python-dev"
8+
- "3.5"
9+
- "3.6"
1410
install:
1511
# gcut version
16-
- "sudo pip install -v ."
12+
- "ls /usr/lib/x86_64-linux-gnu/libboost_*"
13+
- "pip install -v -e ."
1714
script: true
15+
addons:
16+
apt:
17+
packages:
18+
- build-essential
19+
- libboost-python-dev
20+
cache:
21+
- apt
22+
- directories:
23+
- "$HOME/.cache/pip"

0 commit comments

Comments
 (0)