2015-04-06 20:46:46 +03:00
|
|
|
cache:
|
2015-04-06 20:58:11 +03:00
|
|
|
directories:
|
2015-04-06 20:46:46 +03:00
|
|
|
- node_modules
|
2015-11-23 18:45:55 +03:00
|
|
|
|
2015-11-24 23:55:19 +03:00
|
|
|
install: ./ci/install
|
2015-11-23 18:52:06 +03:00
|
|
|
|
2015-11-23 21:33:55 +03:00
|
|
|
script:
|
|
|
|
- npm install
|
2015-11-24 23:41:32 +03:00
|
|
|
- '[ "${TRAVIS_OS_NAME}" = "linux" ] && npm test || false'
|
2015-11-24 23:55:19 +03:00
|
|
|
- '[ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm run integration || false'
|
|
|
|
- '[ "${TRAVIS_OS_NAME}" = "osx" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./ci/release-mac || false'
|
2015-11-24 20:31:40 +03:00
|
|
|
|
2015-11-24 23:45:08 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
services:
|
2015-11-24 23:55:19 +03:00
|
|
|
- docker
|
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "4.1"
|
2015-11-24 23:45:08 +03:00
|
|
|
- os: osx
|
|
|
|
language: generic
|
|
|
|
|