File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- language : node_js
2- node_js :
3- - ' 0.10'
4- before_script :
5- - npm install -g grunt-cli
6- # Only use grunt-ci for commits pushed to this repo. Fall back to regular test
7- # for pull requests (as secure variables won't be exposed there).
8- script : |
9- test $SAUCE_ACCESS_KEY == 'false' && grunt ci --verbose || npm test
10- env :
11- # Encrypted SAUCE_USERNAME and SAUCE_ACCESS_KEY used by travis
12- global :
13- - secure : IkMOa/8r4sWyzUMxecsfqoPzZyIqVAMwPkQ6/HxXPbT8X7UnvqAdaicAMeHEKtOnOac+rx6pGB9HQvC8P/ZzkEBtsKLP4nEh9vsAInZvb3pXg+qbIgIK6/19X0kU4UkpDqVdWmBuFTamJvMDMstUTgEaM3869bB5vGp9taBgfVo=
14- - secure : DKrQplF0CBiBh+cbQ8D7EKebCeklUWEELblIJdU4475Occ4G9b8ZFYO9HFwl1B8F/XapB7CsMyxbJCWor030FySeqn8bhJs9NoAVoYGg+MtWniv1EOHuZLWuOGfgQDv7qj5U0Af9Y655MmUpXSN2aDlCmQweWnYdpFTM9Dfsdd8=
1+ language : node_js
2+ node_js :
3+ - ' 0.10'
4+ before_script :
5+ - npm install -g grunt-cli
6+ - chmod ugo+x travis.sh
7+ # Only use grunt-ci for commits pushed to this repo. Fall back to regular test
8+ # for pull requests (as secure variables won't be exposed there).
9+ script :
10+ - ./travis.sh
11+ env :
12+ # Encrypted SAUCE_USERNAME and SAUCE_ACCESS_KEY used by travis
13+ global :
14+ - secure : IkMOa/8r4sWyzUMxecsfqoPzZyIqVAMwPkQ6/HxXPbT8X7UnvqAdaicAMeHEKtOnOac+rx6pGB9HQvC8P/ZzkEBtsKLP4nEh9vsAInZvb3pXg+qbIgIK6/19X0kU4UkpDqVdWmBuFTamJvMDMstUTgEaM3869bB5vGp9taBgfVo=
15+ - secure : DKrQplF0CBiBh+cbQ8D7EKebCeklUWEELblIJdU4475Occ4G9b8ZFYO9HFwl1B8F/XapB7CsMyxbJCWor030FySeqn8bhJs9NoAVoYGg+MtWniv1EOHuZLWuOGfgQDv7qj5U0Af9Y655MmUpXSN2aDlCmQweWnYdpFTM9Dfsdd8=
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ if [ " ${TRAVIS_PULL_REQUEST} " = " false" ]; then
3+ grunt ci --verbose; else
4+ npm test
5+ fi
You can’t perform that action at this time.
0 commit comments