forked from foundation/foundation-sites
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 1.07 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
language: node_js
node_js:
- '0.10'
branches:
only:
- master
before_install:
- npm install -g grunt-cli bower
- gem install bundler
- bundle install
before_script:
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- git config --global user.email "[email protected]"
- git config --global user.name "mhayes"
- bower install
script: ./run-tests.sh
after_success:
- git clone https://mhayes:${GH_TOKEN}@github.com/zurb/bower-foundation.git
- rm -rf bower-foundation/*
- cp -r dist/assets/* bower-foundation/
- cd bower-foundation
- git remote rm origin
- git remote add origin https://mhayes:${GH_TOKEN}@github.com/zurb/bower-foundation.git
- git add -A
- git commit -m "Foundation build to bower-foundation"
- git push -fq origin master
- echo -e "Done with magic\n"
env:
global:
secure: USNBfNsfQFF6UgNzXRXA+8mWc66WvOUXjIH5PRjbBRUfUFZkt0a74P7uW/IMJZ0XlQwbWCphzv6Rh1qfI5bbmh6nwlJtBgP6KCc/GrPyN61YrudmPZfiNrHFkylhELz82CE6oWZjZGRwlCsLa3IADo27azmQx7kJhko5t3war5A=
notifications:
email:
recipients: