mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-24 16:56:16 -04:00
initial commit
This commit is contained in:
commit
f5b2b47136
46 changed files with 2350 additions and 0 deletions
18
travis-runner.sh
Executable file
18
travis-runner.sh
Executable file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue