Browse Source

Fix travis issue

pull/391/head
Guillaume Vincent 5 years ago
parent
commit
fc3ca6b3ba
3 changed files with 11407 additions and 3 deletions
  1. +2
    -2
      containers/test.sh
  2. +3
    -1
      package.json
  3. +11402
    -0
      yarn.lock

+ 2
- 2
containers/test.sh View File

@@ -6,7 +6,7 @@ export COMPOSE_PROJECT_NAME=lesspass
docker-compose build docker-compose build
docker-compose up -d docker-compose up -d
date -u date -u
docker exec -it lesspass_backend_1 sh -c 'python3 wait_db.py'
docker exec -it lesspass_backend_1 sh -c '/opt/app/venv/bin/python wait_db.py'
date -u date -u
docker exec -it lesspass_backend_1 sh -c 'python3 manage.py test'
docker exec -it lesspass_backend_1 sh -c '/opt/app/venv/bin/python manage.py test'
docker-compose down docker-compose down

+ 3
- 1
package.json View File

@@ -9,7 +9,9 @@
"scripts": { "scripts": {
"test": "yarn workspaces run test" "test": "yarn workspaces run test"
}, },
"workspaces": "packages/*",
"workspaces": [
"packages/*"
],
"devDependencies": { "devDependencies": {
"@babel/core": "7.2.2", "@babel/core": "7.2.2",
"babel-core": "7.0.0-bridge.0", "babel-core": "7.0.0-bridge.0",


+ 11402
- 0
yarn.lock
File diff suppressed because it is too large
View File


Loading…
Cancel
Save