Skip to content

Commit

Permalink
don't use rack_env in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 12, 2019
1 parent fc5370f commit cc793ee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,16 @@ after_success:
docker build -f Dockerfile -t $REPO:$TRAVIS_TAG .;
docker push $REPO:$TRAVIS_TAG;
echo "Pushed to" $REPO:$TRAVIS_TAG;
RACK_ENV="production";
AUTO_DEPLOY=true;
elif [ "$TRAVIS_BRANCH" == "master" ]; then
docker build -f Dockerfile -t $REPO .;
docker push $REPO;
echo "Pushed to" $REPO;
RACK_ENV="stage";
AUTO_DEPLOY=true;
else
docker build -f Dockerfile -t $REPO:$TRAVIS_BRANCH .;
docker push $REPO:$TRAVIS_BRANCH;
echo "Pushed to" $REPO:$TRAVIS_BRANCH;
RACK_ENV="stage";
AUTO_DEPLOY=true;
fi

Expand Down Expand Up @@ -101,6 +98,7 @@ after_success:

if [ "${TRAVIS_TAG?}" ]; then
sentry-cli releases new lupo:${GIT_TAG} --finalize --project lupo
sentry-cli releases deploys lupo:${GIT_TAG} new -e production
fi

sentry-cli releases set-commits --auto lupo:${GIT_TAG}
Expand Down

0 comments on commit cc793ee

Please sign in to comment.