forked from phase2/particle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
24 lines (24 loc) · 820 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: php
# Tests will be for each version in `php` combined with each node version in `env`
php:
- 5.5
- 7.0
env:
- TRAVIS_NODE_VERSION="4"
- TRAVIS_NODE_VERSION="6"
before_install:
# - composer clear-cache
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
install:
- npm install
before_script:
- php --version
- node --version
- npm --version
script: 'npm run compile && npm test'
notifications:
email:
on_success: never
on_failure: always
flowdock:
secure: RBLFcGBNV8iBA3pBGqGzq5o2Kt+X0IESDtuWnamGurhXItdd0Qh8LZwGmbcZdBuncJQ/WvC5/umCZykf0BeMOiu5TnhJKH3ett0qQT8dxJI9aykwbk/+xyCX09tQJ6jejhcDmu394SUlXYb8DBPnlmE345EVbtjFt9Wxo+ZskCo=