forked from wpannell/capstone-project
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
53 lines (52 loc) · 1.06 KB
/
.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
sudo: false
addons:
firefox: "latest"
env:
global:
- CF_APP=[app name]
- CF_API=[API endpoint]
- CF_USERNAME=[user]
- CF_ORGANIZATION=[organization]
- CF_SPACE=[space]
before_install:
# Start a display server where all graphical operations happens in memory
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
language: node_js
cache:
yarn: true
directories:
- node_modules
node_js: 7
branches:
only:
- dev1
- dev2
- dev3
- dev4
- dev5
- dev6
notifications:
email: true
slack: bluemix-garage-skills:TbJLoFILC1nL93wJlP2F9YMb
before_script:
./scripts/merge-from-known-good.sh
script:
npm run ci
after_success:
./scripts/merge-to-known-good.sh
before_deploy:
- npm run dist
- npm prune --production
- npm pack
- tar -xzvf ibm-cloud-garage-method-developer-bootcamp-1.0.0.tgz
- mv node_modules package
deploy:
provider: bluemixcloudfoundry
manifest: manifest-dev.yml
username: [email protected]
password: \(1ny\@3cCLNYABC
organization: BMXEDU
space: garage-bootcamp-dev
on:
all_branches: true