-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
51 lines (41 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
language:
- php
- node_js
dist: trusty
sudo: required
php:
- nightly
- 7.3
- 7.4
node_js:
- "node"
cache:
apt: true
directories:
# - node_modules
# - $HOME/.composer/cache
# - vendor
env:
#- TRAVIS_NODE_VERSION=8
matrix:
fast_finish: true
allow_failures:
- php: nightly
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- npm i -g npm && composer self-update && composer --version
before_script:
#- npm i -g npm && composer self-update && composer --version
#- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION
install:
- node -v && npm -v
- npm install
- export PATH="$HOME/.composer/vendor/bin:$PATH"
script:
- npm run build:dev
- npm run build