forked from MaxLaumeister/bitlisten
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
26 lines (26 loc) · 1.49 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
language: node_js
env:
global:
- ENCRYPTION_LABEL: 14f59a8a5f3c
- COMMIT_AUTHOR_EMAIL: [email protected]
- secure: sZYjvhGR6xuFaztWaArXRfo7bh9okBL85uYkS5RLaa3x3AUwuzxlPDdnAaBT4NUhs1zQ+sC7b61twrtjAM8II2yZSyT6sbr48nbKpOkxzY0uWxeMbOuVuFuo+uTy2VBjUseIEXyuHks/xdE2aq0i+OWNMwANBwg0EikWIEDPqPaMMTVg+1b6AL/WFasQDEA8/g9FiJnURH/dgcSHObRMFjqfmKg2bw44ORODwngrzTfYLIVRyHtARcHI4GoOoWDNZNsaS7wlYyhdJv2TqnYMsQ22Geld6OmziJiZI3+oBYPPqbHe54oEhwj3nr8MW2VX0YU9SnIS/JPKI0EYD1hWAmtoB51INT/W9i/FsQUlGW0gqmyiNBZw0VM2EMeOWL8R+qkJtHu3qOWcHLKx26D9UTzNSpjZ4yVPh9gMbm1vQnkvlu+EHfNH2glnGMF6OzRirWwPI58RgHk1Y1dMjw29UK/NozLs90WK/5sUSzUhp7093kMlIWfZkT9kAGNVnVBA8CAlEbINhVYDhaOv7OKeVQOD1EOSZkVcWmSp6U00abQGUlITM0LMerN0+weDZSYuOzrJZsJvKlvHT1JcnWs+Xwri1wWJDG5+KkhGlg6epAKf8E9aabnkLNLHcQC4pR4pqsUxFYI22NPhDbNxjmdhKOfkaBvGn6VME3qqmNnlR5s=
before_install:
- ls
- git clone --branch=gh-pages https://github.com/colt05/dcrlisten.git
- cd dcrlisten
- ls
- npm install -g grunt-cli
- echo "="
install: npm install
script: grunt && chmod +x deploy.sh
after_success:
- git config user.name "Travis CI" >> /dev/null && echo set name
- git config user.email "$COMMIT_AUTHOR_EMAIL" >> /dev/null && echo set email
- git remote rm origin && echo removed old origin
- git remote add origin https://colt05-ci:${GH_TOKEN}@github.com/colt05/dcrlisten.git && echo added neworigin
- git add bitlisten.min.js && echo added js file
- git commit -m "travis build" && echo added commit
- git push -u -f origin gh-pages && echo pushed
branches:
only:
- gh-pages