Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
CI: Make Travis call common setup
Browse files Browse the repository at this point in the history
Update the `.travis.yml` config file to call the common CI setup script.

This ensures Travis jobs have the correct set of packages installed for
running all the static checks.

Fixes: #648.

Signed-off-by: James O. D. Hunt <[email protected]>
  • Loading branch information
jodh-intel committed Sep 16, 2019
1 parent dc235c3 commit b900a3f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ go_import_path: github.com/kata-containers/agent
env:
- target_branch=$TRAVIS_BRANCH

before_script:
- ".ci/static-checks.sh"

before_install:
- sudo apt-get update -qq
- sudo apt-get install -y -qq automake
- sudo apt-get install -y moreutils
- ".ci/setup.sh"

before_script:
- ".ci/install_go.sh"
- ".ci/static-checks.sh"

install:
- cd ${TRAVIS_BUILD_DIR} && make
Expand Down

0 comments on commit b900a3f

Please sign in to comment.