Skip to content

Commit

Permalink
Update target names in .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dighan authored and mangui committed Jul 18, 2017
1 parent e0cff86 commit d6aee4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ env:
global:
- SAUCE_USERNAME=mangui
matrix:
- TRAVIS_MODE=buildLib
- TRAVIS_MODE=buildDist
- TRAVIS_MODE=build
- TRAVIS_MODE=unitTests
- TRAVIS_MODE=funcTests UA=chrome OS="Windows 10"
- TRAVIS_MODE=funcTests UA=firefox OS="Windows 10"
Expand Down
8 changes: 3 additions & 5 deletions scripts/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
set -ev

npm install
if [ "${TRAVIS_MODE}" = "buildLib" ]; then
npm run buildlib
elif [ "${TRAVIS_MODE}" = "buildDist" ]; then
npm run builddist && npm run builddistlight
if [ "${TRAVIS_MODE}" = "build" ]; then
npm run build
elif [ "${TRAVIS_MODE}" = "unitTests" ]; then
npm run test
elif [ "${TRAVIS_MODE}" = "funcTests" ]; then
npm run builddist
npm run build
n=0
maxRetries=1
until [ $n -ge ${maxRetries} ]
Expand Down

0 comments on commit d6aee4e

Please sign in to comment.