-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml
48 lines (42 loc) · 2.64 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
language: node_js
node_js:
- '0.10'
before_install:
- curl https://$PUSH_ENDPOINT/1/messages.json -d token=$PUSH_TOKEN -d user=$PUSH_USER -d device=$PUSH_DEVICE --data-urlencode 'message=Hi! Travis is here...'
- git clone git://github.com/n1k0/casperjs.git ~/casperjs
- cd ~/casperjs
- git checkout tags/1.1-beta3
- export PATH=$PATH:`pwd`/bin
- cd -
before_script:
- phantomjs --version
- casperjs --version
script:
- make
after_success:
- curl https://$PUSH_ENDPOINT/1/messages.json -d token=$PUSH_TOKEN -d user=$PUSH_USER -d device=$PUSH_DEVICE --data-urlencode 'message=Deploying...'
- make publish
- curl https://$PUSH_ENDPOINT/1/messages.json -d token=$PUSH_TOKEN -d user=$PUSH_USER -d device=$PUSH_DEVICE --data-urlencode 'message=Deployed to Userstyles.org!'
- make upload
- curl https://$PUSH_ENDPOINT/1/messages.json -d token=$PUSH_TOKEN -d user=$PUSH_USER -d device=$PUSH_DEVICE --data-urlencode 'message=Uploaded to dark-facebook.appspot.com!'
after_failure:
- curl https://$PUSH_ENDPOINT/1/messages.json -d token=$PUSH_TOKEN -d user=$PUSH_USER -d device=$PUSH_DEVICE --data-urlencode 'message=Build Failed'
env:
global:
# This is the userstyles.org cookie, in encrypted form
- secure: "pBPWegv7ztZfQZW7xvhXxpC8X7Y8FXV3p5csvQMvCgEeCoa/3whCOWyQnwW4uHYlE37j2bRuyO3t0vEVAQgBAwd2lJFZb4i8fOw/fSIirhlGBgwL8eBVT+dVzrEW1EUwzETRZa/2j5nBn6djrgxw6RBpA+AT+P0gwIGFIxL/3N8="
# The target style ID
- DFB2_ID=95359
# For notification...
- secure: "dmLTKcDz3g9nuqsywsIxu+UTbtOYSfaEN15dxZa7itfchCarGwCUwYBpsjfcBlLmvqgRPvwo3nI50l5Ya2JZ1ipQFExxcEVM+ssxWZL08jlwEFEwox5dyQF0NIr0vpqvzgcSuECb0ZY951Zh1KzRB0H9h4jEoNBvRjzvJ9neLZ4="
- secure: "NMWsIPwAPMf1W0ezWLwRj+yLAX766ryK69B3TANif38eOVIeeeh3bHxs8VBihqnMCAVc8fvOPjiDUHFuZ/6oDID5s+iLWWB9cfVoKNAk/iCPss/WVZDu1rGn9pMudvhTy+mWIx3KYNzWRSEhutkQwtrDP8lrbqSRLchpZrGb9fE="
- secure: "XKxRQmsy6IcYI42sXoRXh2ni9dgV4ht5sFGFkv7JZ8Dfr/rahi/4OkDJJm+1KMXjPCN1zftfJK01R3GYc2laeUvhIwPtklxZYKx/MPdXCbH7/c2pCjNKZycY2S+5LFcxOavcdTelmDIfogcSYcaPZFnP32nDKZKtoR8hgYHoOhk="
- secure: "VJk04YBBPdwMICtgsLxJqWe4aSHh6kS12T3/nvco9PZTQTW9QEKJ9eJpxOw9S0A+VrTnIaBhwUJfCksAuTkuTMNp58ELZcDY/1+VqL79fzuFPugFPF3XdENyZOEhy7pths0OfDlfz/pDvndZKe854EF5Q0EU3JPimylXsCwSIAg="
# For deployment
- secure: "M9QSRKgv0bMjRfcCj75bEY/GsGL37KcER23mVWNHLJNVhs6q3tyOxlNt7h7cUseOZXuarVdNGVtD0uw98Kh4UaU+X3hckIIyarSxv60yb09XesojVcOELyHh7wn5WKKEkDQJj2invA8z8u/vId2hcCDvZ0YotxBYZSZX1PvU4nw="
branches:
only:
- dfb2
notifications:
flowdock:
secure: "lxDpf9+NW25Ezgm4hDTVCi9vwSJIH3bXgSoh3oTdKmdKclbJPqSRTu8WKMTcpaQnhXJwk62hIk/3D7emdDb+xdmM7pDs//MpTsswz4Kyu3PQ5CdIQL9nx8AUqDKX2mXgrTMvtXBfqFx2EwIcfb1t3sUdq50CechFZjfeYX9MZqc="