Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 10bec2c

Browse files
Eric SteinbornEric Steinborn
Eric Steinborn
authored and
Eric Steinborn
committed
update travis build, hopefully fixes it
1 parent 831dadc commit 10bec2c

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

.travis-build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ if [ "$AUTHOR" != "Author: Travis-CI <[email protected]>" -a "$TRAVIS_PULL_RE
1010
echo -e "Copying new files to a temp folder\n"
1111
cp -R demo $HOME/demo
1212

13-
#go to home and setup git
13+
#go to home
1414
cd $HOME
15-
git config --global user.email "[email protected]"
16-
git config --global user.name "Travis"
1715

1816
#using token clone gh-pages branch
1917
echo -e "Cloning repo\n"

.travis.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- 0.11
4+
- 0.11
55
before_script:
6-
- npm install -g grunt-cli
6+
- npm install -g grunt-cli
7+
- git config --global user.email "[email protected]"
8+
- git config --global user.name "Travis-CI"
79
script:
8-
- grunt build
10+
- grunt build
11+
after_script:
12+
- git config credential.helper "store --file=.git/credentials"
13+
- echo "https://${GH_TOKEN}:@github.com" > .git/credentials
914
after_success:
10-
- chmod -R 777 .travis-build.sh
11-
- ./.travis-build.sh
15+
- chmod -R 777 .travis-build.sh
16+
- ./.travis-build.sh
1217
env:
1318
global:
1419
secure: OJbAIG1yFzfU7JTNDzCVxU9+33MjduhvWFkEsIPoUmLe/reKPug11OIFBAnriX7KVnlGBQ8oNIeN5n0o0rZN9FLLSEVGXAviT0BMCnEzJraCFOjrYW6Hf2dPIyuEIzopIVfY9hTXmOJcUstyx3//Iu0pWG/5+StyvK4dK7nR3Kk=

0 commit comments

Comments
 (0)