401e7ad819
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
17 lines
297 B
YAML
Executable file
17 lines
297 B
YAML
Executable file
language: node_js
|
|
dist: trusty
|
|
sudo: false
|
|
node_js:
|
|
- "5.0.0"
|
|
- "4.0.0"
|
|
env:
|
|
- NODE_ENV=travis TRAVIS=travis CXX=g++-4.8
|
|
services:
|
|
- mongodb
|
|
- redis
|
|
addons:
|
|
code_climate:
|
|
repo_token: 6c3a1b81a09b2338d6f30913c1bcad115026689752cbb499a0a25061cda6fbcf
|
|
after_script:
|
|
- grunt coverage
|