summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPeter Dave Hello2017-04-18 13:13:06 +0800
committerPeter Dave Hello2017-04-18 13:17:43 +0800
commitf1f0cb7aef2596082badc3c386817311285d6584 (patch)
tree9926379fdd3fedd37a06a0dca222e6cfc0d6128f /.travis.yml
parent450159a46213bbb9cbacfa17229277ff33e65d4e (diff)
Move to Ubuntu Trusty on Travis CI and remove apt add-on
Two reasons here: 1) Ubuntu Precise is reaching EOL, though Travis CI may take care of it. we still can move to Trusty earlier as I didn't see any dependency of Precise here. 2) g++4.8 is built-in in Travis CI's Ubuntu Trusty environment, which means we don't need to spend time on adding ppa repository, apt update and apt install, could save time on the CI.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 1 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 66451cf0..cbcdf44e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,14 +1,9 @@
language: node_js
+dist: trusty
node_js:
- 6
- 7
- lts/boron
env:
- CXX=g++-4.8
-addons:
- apt:
- sources:
- - ubuntu-toolchain-r-test
- packages:
- - g++-4.8
cache: yarn