Skip to content
This repository has been archived by the owner on Jan 31, 2022. It is now read-only.

Commit

Permalink
update .travis.yml to fail on failed steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jsturdy committed May 9, 2018
1 parent f6199b9 commit dc2e4eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ after_script: skip
- gem install github_changelog_generator
script:
- echo 'Running build stage on docker container $DOCKER_CONTAINER_ID'
- docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -ec "cd /home/daqbuild/gem-plotting-tools; make && make rpm"
- docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -ec "cd /home/daqbuild/gem-plotting-tools; make" || travis_terminate 1
- docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -ec "cd /home/daqbuild/gem-plotting-tools; make rpm" || travis_terminate 1
- docker exec -ti $DOCKER_CONTAINER_ID /bin/bash -ec "cd /home/daqbuild/gem-plotting-tools; rpm -q --filesbypkg -p rpm/*.rpm"
- ls -laZ rpm
- find ./rpm -iname '*.rpm' -o -iname '*.tar.gz' -o -iname '*.tbz2'
Expand Down

0 comments on commit dc2e4eb

Please sign in to comment.