-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshippable.yml
39 lines (32 loc) · 1.35 KB
/
shippable.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
language: node_js
node_js:
- 7.0.0
env:
global:
# BLUEMIX_USER and BLUEMIX_PASSWORD encrypted as cambridgeweblab
- secure: Gpzuk51B3s6Ew2Z+29YqzFmEhGz7bwt8Lm9ak8mzOWmLHiKIQ8GLdSff/IV5pdjAbSe3OyVi8ywRy5LFE5X1pDvuW4LCviKUyMj3hl6J6I3DWMausXPoea8ToYeSrZzVF9rO4WL39kIO80NSV4fGVD1nLWrk3kuBFoeebrdgqlovP7A8Wa4CTKNcAaq7IIgtRuM5TyBgcAJKYDLv/IepdfJdFvhdDyuo/KNK9MxQRSURwckHHkczau7guY7SfhY9zv5IFX0HmIyrjFlY0eAE/HYwjha47CIS2IBMhtecQrgR5EeVOdac9EsMOt0Tj8+U124SIkFP6X2bFArNeB3QxQ==
build:
ci:
- curl -o /tmp/chromedriver.zip -L http://chromedriver.storage.googleapis.com/2.10/chromedriver_linux64.zip
- unzip /tmp/chromedriver.zip -d /home/shippable/bin
- chmod +x /home/shippable/bin/chromedriver
- echo '#!/bin/bash' | $SUDO tee /usr/bin/google-chrome
- echo 'exec /usr/bin/chrome --no-sandbox --disable-gpu \"$@\"' | $SUDO tee -a /usr/bin/google-chrome
- $SUDO chmod +x /usr/bin/google-chrome
- npm install bower
- npm install
- ./node_modules/bower/bin/bower install --allow-root
- mkdir -p shippable/buildoutput
on_success:
- cp -rv package.json index.js bower_components/ components/ examples/ ./shippable/buildoutput
integrations:
notifications:
- integrationName: hipchat
type: hipchat
recipients:
- '#Common%20UI'
branches:
only:
- master
on_success: always
on_failure: always