forked from UTCWeb/particle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
old.travis.yml
66 lines (64 loc) · 1.63 KB
/
old.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
language: php
php:
- 7.1
- 7.2
env:
matrix:
- TRAVIS_NODE_VERSION="10"
- TRAVIS_NODE_VERSION="11"
- 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
- npm run build:drupal
- npm run build:pl
before_deploy:
- git add .
- git commit -m "Adding particle dist/ assets"
- git push
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: master
# deploy:
# - provider: script
# script: "${BLT_DIR}/scripts/travis/deploy_branch"
# # script: blt artifact:deploy --commit-msg "Automated commit by Travis CI for Build ${TRAVIS_BUILD_ID}" --branch "${TRAVIS_BRANCH}-build" --no-interaction --verbose --ignore-dirty
# skip_cleanup: true
# on:
# branch: develop
# php: 7.3
deploy:
provider: releases
skip_cleanup: true
# github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep_history: true
on:
repo: UTCWeb/particle
branch: develop