2013-02-27 22:47:53 +04:00
|
|
|
#!/bin/sh
|
2012-08-31 21:43:21 +04:00
|
|
|
|
2013-06-21 02:26:00 +04:00
|
|
|
set -e
|
|
|
|
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
|
2013-02-27 22:47:53 +04:00
|
|
|
rm -rf ~/.atom
|
2013-05-29 21:01:33 +04:00
|
|
|
git clean -dff
|
2013-06-21 02:41:23 +04:00
|
|
|
|
2013-10-04 08:42:15 +04:00
|
|
|
ATOM_CREDENTIALS_FILE=/var/lib/jenkins/config/atomcredentials
|
|
|
|
if [ -f $ATOM_CREDENTIALS_FILE ]; then
|
|
|
|
. $ATOM_CREDENTIALS_FILE
|
|
|
|
export ATOM_ACCESS_TOKEN=$ATOM_ACCESS_TOKEN # make it visibile to grunt.
|
|
|
|
fi
|
|
|
|
|
2013-09-02 05:32:44 +04:00
|
|
|
./script/bootstrap
|
|
|
|
./node_modules/.bin/apm clean
|
|
|
|
./node_modules/.bin/grunt ci --stack --no-color
|