File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -6,27 +6,26 @@ REPO=`git config remote.origin.url`
6
6
SSH_REPO=${REPO/ https: \/\/ github.com\/ / git@ github.com: }
7
7
SHA=` git rev-parse --verify HEAD`
8
8
9
- git checkout master || git checkout --orphan master
10
-
11
9
if [ " $TRAVIS_BRANCH " == " master" ]; then
12
10
echo " This contains static files, not doing anything"
13
11
exit 0
14
12
fi
15
13
16
14
if [ " $TRAVIS_PULL_REQUEST " == " true" ]; then
17
- echo " This is a pull request"
18
- bundle exec rake collect
15
+ echo " This is a pull request, just doing a build"
19
16
bundle exec rake build
20
17
exit 0
21
18
fi
22
19
23
20
if [ " $TRAVIS_BRANCH " != " source" ]; then
24
- echo " Non source branch, building but not deploying"
21
+ echo " Non source branch, collecting and building but not deploying"
25
22
bundle exec rake collect
26
23
bundle exec rake hash
27
24
exit 0
28
25
fi
29
26
27
+ git checkout master || git checkout --orphan master
28
+
30
29
bundle exec rake collect
31
30
bundle exec rake build
32
31
You can’t perform that action at this time.
0 commit comments