forked from angular-ui/angular-google-maps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 778 Bytes
/
.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
language: node_js
node_js:
- '4'
before_script: PATH="$(npm bin):$PATH" npm install
script: npm run buildAll
branches:
only:
- master
- 2.3.X
- 2.2.X
- 2.1.X
- 2.0.X
- 1.2.X
- 1.0.X
- website
sudo: false
after_success:
- eval "$(ssh-agent -s)"
- chmod 600 .travis/deploy
- ssh-add .travis/deploy
- BRANCH=git branch
- echo Current Branch $BRANCH !!!!!!!!!!!!!!!!!!!!
- if [[ "$BRANCH" == "website" ]]; then echo "not syncing $BRANCH exiting"; exit 0; fi;
- git add -A
- git commit -am "buildAll from travis"
- git remote add deploy git@github.com:angular-ui/angular-google-maps.git
- git push deploy
"./.travis/deploy.enc":
- openssl aes-256-cbc -K $encrypted_471396ff623e_key -iv $encrypted_471396ff623e_iv
-in ./.travis/deploy.enc -out ./.travis/deploy -d