mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-05-20 11:25:02 +00:00
initial commit
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
set -o pipefail
|
||||
|
||||
if [ "$TRAVIS_BRANCH" = "master" ] && [ "$TRAVIS_PULL_REQUEST" = "false" ]
|
||||
then
|
||||
git config --global user.email "samccone@gmail.com" && \
|
||||
git config --global user.name "auto deployer" && \
|
||||
echo "Deploying!" && \
|
||||
sed -i.tmp "s/\/\/ app.baseUrl = '\/polymer-starter-kit/app.baseUrl = '\/polymer-starter-kit/" app/scripts/app.js && \
|
||||
rm app/scripts/app.js.tmp && \
|
||||
bower i && \
|
||||
gulp build-deploy-gh-pages && \
|
||||
sed -i.tmp "s/app.baseUrl = '\/polymer-starter-kit/\/\/ app.baseUrl = '\/polymer-starter-kit/" app/scripts/app.js && \
|
||||
rm app/scripts/app.js.tmp
|
||||
else
|
||||
npm run lint
|
||||
npm test
|
||||
fi
|
||||
Reference in New Issue
Block a user