Permalink
Browse files

Warmly send contributions from the master to the develop branch

be precise
  • Loading branch information...
1 parent c1d4774 commit f1196b55fad7d80442ff26ea9e1c771d64ecb7c3 @JAremko JAremko committed with Mar 7, 2016
Showing with 13 additions and 0 deletions.
  1. +13 −0 .travis-build.sh
View
@@ -19,6 +19,19 @@ if [ $USER != "travis" ]; then
exit 1
fi
+if [ $TRAVIS_SECURE_ENV_VARS = false ] &&
+ [ $TRAVIS_PULL_REQUEST != false ] &&
+ [ $TRAVIS_BRANCH = "master" ]; then
+
+ printf '=%.0s' {1..70}
+ printf "\n し(*・∀・)/ Thanks for the contribution! \(・∀・*)ノ\n"
+ printf '=%.0s' {1..70}
+ printf "\n( ^◡^)っ Please submit your pull request against the develop branch.\n"
+ echo "You can read the contribution guidelines at:"
+ echo "https://github.com/syl20bnr/spacemacs/blob/develop/CONTRIBUTING.org"
+ exit 1
+fi
+
echo "Pwd $(pwd)"
rm -rf ~/.emacs.d
ln -sf `pwd` ~/.emacs.d

0 comments on commit f1196b5

Please sign in to comment.