Skip to content

Commit de3518f

Browse files
committed
Attempt to cache apt with travis, probably wont work...
1 parent 380652f commit de3518f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ go:
66
- 1.4
77
- tip
88

9-
before_install:
10-
- wget http://download.rethinkdb.com/dev/2.0.0-0RC1/rethinkdb_2.0.0%2b0RC1~0precise_amd64.deb
11-
- sudo dpkg -i rethinkdb_2.0.0+0RC1~0precise_amd64.deb
9+
cache: apt
1210

1311
before_script:
14-
# - sudo add-apt-repository ppa:rethinkdb/ppa -y
15-
# - sudo apt-get update -q
16-
# - sudo apt-get install rethinkdb
12+
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
13+
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
14+
- sudo apt-get update
15+
- sudo apt-get install rethinkdb
1716
- rethinkdb > /dev/null 2>&1 &
1817
- rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29016 > /dev/null 2>&1 &
1918
- rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29016 > /dev/null 2>&1 &

0 commit comments

Comments
 (0)