mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Add node env correctly in travis.yml and echo
This commit is contained in:
parent
648e53456c
commit
ebc143f455
@ -9,7 +9,7 @@ services:
|
||||
- docker
|
||||
|
||||
env:
|
||||
- DOCKER_COMPOSE_VERSION=1.23.2
|
||||
- DOCKER_COMPOSE_VERSION=1.23.2 NODE_ENV=test
|
||||
|
||||
before_install:
|
||||
- sudo rm /usr/local/bin/docker-compose
|
||||
@ -27,6 +27,7 @@ install:
|
||||
- yarn add cypress-cucumber-preprocessor
|
||||
|
||||
script:
|
||||
- echo $NODE_ENV
|
||||
- docker-compose exec webapp yarn run lint
|
||||
- docker-compose exec webapp yarn run test
|
||||
- docker-compose -f ../Nitro-Backend/docker-compose.yml exec backend yarn run db:seed > /dev/null
|
||||
|
||||
@ -9,10 +9,10 @@
|
||||
"build": "nuxt build",
|
||||
"start": "cross-env node server/index.js",
|
||||
"generate": "nuxt generate",
|
||||
"lint": "set NODE_ENV=test && eslint --ext .js,.vue .",
|
||||
"lint": "eslint --ext .js,.vue .",
|
||||
"styleguide": "cd ./styleguide && yarn dev",
|
||||
"styleguide:build": "cd ./styleguide && yarn build:lib && cd ../",
|
||||
"test": "set NODE_ENV=test && jest",
|
||||
"test": "jest",
|
||||
"precommit": "yarn lint"
|
||||
},
|
||||
"cypress-cucumber-preprocessor": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user