Update .travis.yml for Sage 9

This commit is contained in:
QWp6t
2016-12-10 08:04:53 -08:00
parent fb6f01bac8
commit 1a39af0f7f

View File

@@ -1,49 +1,41 @@
sudo: false
language: php language: php
sudo: false
dist: trusty
php: php:
- 7.1
- 7.0 - 7.0
- 5.6 - 5.6
- nightly - nightly
env: env:
- TRAVIS_NODE_VERSION="4" CXX="g++-4.8" - TRAVIS_NODE_VERSION="6"
- TRAVIS_NODE_VERSION="6" CXX="g++-4.8" - TRAVIS_NODE_VERSION="7"
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- php: nightly - php: nightly
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
cache: cache:
apt: true apt: true
directories: directories:
- $HOME/.composer/cache - $HOME/.composer/cache
- node_modules - $HOME/.yarn-cache
- vendor - vendor
before_install: before_install:
- composer self-update - composer self-update
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION
- export PATH=$HOME/.yarn/bin:$PATH && travis_retry curl -o- -L https://yarnpkg.com/install.sh | bash
install: install:
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION - node -v && yarn -V
- travis_retry npm install -g npm@latest - travis_retry yarn
- travis_retry npm install -g eslint
- node -v && npm -v
- npm rebuild
- travis_retry npm install
- npm prune
- composer install -o --prefer-dist --no-interaction - composer install -o --prefer-dist --no-interaction
script: script:
- npm run test - yarn run test
- npm run build - yarn run build
- npm run clean - yarn run clean
- npm run "build:production" - yarn run "build:production"
- composer test - composer test