From 401e7ad8199f816aec68c60f4c87b0252f71fab6 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sun, 23 Apr 2017 20:24:52 +0800 Subject: [PATCH] Move to Ubuntu 14.04, remove apt add-on on Travis 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) GCC 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. Ref: https://docs.travis-ci.com/user/trusty-ci-environment/#Compilers-%26-Build-toolchain --- .travis.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a106aa64..e7f4764b 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: node_js +dist: trusty sudo: false node_js: - "5.0.0" @@ -11,11 +12,5 @@ services: addons: code_climate: repo_token: 6c3a1b81a09b2338d6f30913c1bcad115026689752cbb499a0a25061cda6fbcf - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-4.8 - - g++-4.8 after_script: - grunt coverage