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.
This commit is contained in:
Peter Dave Hello 2017-04-18 13:13:06 +08:00
parent 450159a462
commit f1f0cb7aef
1 changed files with 1 additions and 6 deletions

View File

@ -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