-
Notifications
You must be signed in to change notification settings - Fork 118
/
.travis.yml
42 lines (42 loc) · 922 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
language: php
php:
- 7.1
- 7.2
env:
matrix:
- TRAVIS_NODE_VERSION="8"
- TRAVIS_NODE_VERSION="10"
- TRAVIS_NODE_VERSION="12"
before_install:
- '. $HOME/.nvm/nvm.sh'
- nvm install $TRAVIS_NODE_VERSION
- nvm use $TRAVIS_NODE_VERSION
- npm install -g npm@latest
install:
- npm ci
- npm run setup
cache:
directories:
- '$HOME/.npm'
before_script:
- php --version
- node --version
- npm --version
script:
- npm run ci
notifications:
email:
on_success: always
on_failure: always
deploy:
provider: s3
access_key_id: AKIAJBL5BZGAV2VFZZNA
secret_access_key:
secure: Fss1itHfFSEIM+lO0c9avjZcOKWFNlz10V1ml2lFETmLW/rLiNXExy2cEStMgpodV9IwzcvRtfnyRIi6n9f+GzZFiPm7q8krlBT8T7pROzEM9AvIV273Q6hK687HrGrOiq/0hhXhA8aUI7QRGw7e4eZoI71/w2NiFk+r22fSDug=
bucket: p2-particle
local-dir: dist
acl: public_read
skip_cleanup: true
on:
repo: phase2/particle
branch: main