Fix test script

This commit is contained in:
Rodrigo Fernandes 2017-01-15 19:21:45 +00:00
parent 21c4e720e1
commit 01c0f1527c
No known key found for this signature in database
GPG key ID: 08E3C5F38969078E

View file

@ -11,28 +11,28 @@ test:
override: override:
- echo "Running tests with node 7.x" - echo "Running tests with node 7.x"
- git clean -dfx - git clean -dfx
- nvm use 7 && nvm alias default 7 - nvm install 7 && nvm use 7 && nvm alias default 7
- npm install - npm install
- npm run lint - npm run lint
- npm run codacy - npm run codacy
- npm run test - npm run test
- echo "Running tests with node 6.x" - echo "Running tests with node 6.x"
- git clean -dfx - git clean -dfx
- nvm use 6 && nvm alias default 6 - nvm install 6 && nvm use 6 && nvm alias default 6
- npm install - npm install
- npm run test - npm run test
- echo "Running tests with node 5.x" - echo "Running tests with node 5.x"
- git clean -dfx - git clean -dfx
- nvm use 5 && nvm alias default 5 - nvm install 5 && nvm use 5 && nvm alias default 5
- npm install - npm install
- npm run test - npm run test
- echo "Running tests with node 4.x" - echo "Running tests with node 4.x"
- git clean -dfx - git clean -dfx
- nvm use 4 && nvm alias default 4 - nvm install 4 && nvm use 4 && nvm alias default 4
- npm install - npm install
- npm run test - npm run test
- echo "Running tests with node 0.12.x" - echo "Running tests with node 0.12.x"
- git clean -dfx - git clean -dfx
- nvm use 0.12 && nvm alias default 0.12 - nvm install 0.12 && nvm use 0.12 && nvm alias default 0.12
- npm install - npm install
- npm run test - npm run test