1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-15 01:25:28 +01:00
blog/_ci/build.sh

12 lines
135 B
Bash
Raw Normal View History

2015-08-30 14:02:02 +02:00
#!/usr/bin/env bash
2017-11-25 17:34:43 +01:00
npm test &&
2017-09-09 01:40:23 +02:00
2017-11-25 17:58:19 +01:00
if [ "$TRAVIS_BRANCH" == "master" ]; then
2015-08-30 14:02:02 +02:00
gulp build --production
else
gulp build
fi;
exit;