From 7a9d2823cc513fb9e4684eb5323369bfc89a8248 Mon Sep 17 00:00:00 2001 From: Grzegorz Leoniec Date: Sat, 24 Nov 2018 12:38:42 +0100 Subject: [PATCH] updated travis build --- .travis.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23985fa14..8eea15380 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,23 +7,21 @@ cache: yarn: true directories: - node_modules -# install - # nothing before_script: - - docker build --build-arg BUILD_COMMIT=$TRAVIS_COMMIT -t humanconnection/nitro-webapp . + - docker build --build-arg BUILD_COMMIT=$TRAVIS_COMMIT -t humanconnection/nitro-web . script: - - docker run humanconnection/nitro-webapp yarn run lint + - docker run humanconnection/nitro-web yarn run lint after_success: - - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh - - chmod +x send.sh - - ./send.sh success $WEBHOOK_URL + # - wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh + # - chmod +x send.sh + # - ./send.sh success $WEBHOOK_URL - if [ $TRAVIS_BRANCH == "master" ] && [ $TRAVIS_EVENT_TYPE == "push" ]; then docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"; - docker tag humanconnection/nitro-webapp humanconnection/nitro-webapp:latest; - docker push humanconnection/nitro-webapp:latest; + docker tag humanconnection/nitro-web humanconnection/nitro-web:latest; + docker push humanconnection/nitro-web:latest; fi after_failure: