Skip to content
Snippets Groups Projects
Commit 57556590 authored by Éloïs's avatar Éloïs
Browse files

CI: use node 9 and one job for build and tests

parent c2fd3eba
No related branches found
No related tags found
1 merge request!1Resolve "add basics methods with Neon"
Pipeline #
stages: stages:
- build - build_and_tests
- test
.nvm_env: &nvm_env .nvm_env: &nvm_env
tags: tags:
...@@ -10,16 +9,12 @@ stages: ...@@ -10,16 +9,12 @@ stages:
- export NVM_DIR="$HOME/.nvm" - export NVM_DIR="$HOME/.nvm"
- . "$NVM_DIR/nvm.sh" - . "$NVM_DIR/nvm.sh"
- export PATH="$HOME/.cargo/bin:$PATH" - export PATH="$HOME/.cargo/bin:$PATH"
- nvm install 9.4.0
- nvm use 9.4.0
build: build_and_tests:
<<: *nvm_env <<: *nvm_env
stage: build stage: build_and_tests
script:
- npm install
test:
<<: *nvm_env
stage: test
script: script:
- npm install - npm install
- npm test - npm test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment