From d201d7367028b7757e6140eea1953830a05fe24c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Mon, 3 Dec 2018 20:43:42 +0100 Subject: [PATCH] Run seeds without docker-compose I give up with running docker-compose on Travis CI. Using `bash` instead of Linux alpine's `sh` does **not** fix the issue as suggested here: https://github.com/kimmobrunfeldt/concurrently/issues/104 --- .travis.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index eacbdc107..63ce4a4e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,21 +7,16 @@ cache: - node_modules services: - docker -env: - - DOCKER_COMPOSE_VERSION=1.23.2 - -before_install: - - sudo rm /usr/local/bin/docker-compose - - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose - - chmod +x docker-compose - - sudo mv docker-compose /usr/local/bin + - neo4j install: + - yarn install - docker build --build-arg BUILD_COMMIT=$TRAVIS_COMMIT -t humanconnection/nitro-backend:latest . script: - docker run humanconnection/nitro-backend:latest yarn run eslint -- docker-compose run --rm backend yarn run db:seed # seeding needs neo4j +- yarn run db:reset +- yarn run db:seed after_success: - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh