]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
travis: use multiple build stages
authorJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 05:22:53 +0000 (21:22 -0800)
committerJoseph Richey <joerichey94@gmail.com>
Mon, 12 Feb 2018 05:38:13 +0000 (21:38 -0800)
commitb330463662825a7d7b22efabb2b7a40640d2b18e
tree5f6fdc40c7518bc23a63fdac9a92b516dd0c6d36
parenta9c3c4fdfbdd9b4ab7e82f5b237d040be68886e0
travis: use multiple build stages

This change rewrites .travis.yml to use many build stages/jobs. This
allows our build to run faster, as almost all jobs run in containers.

Stage 1: Run on all pushes to all branches
  - Job Build: just runs "make" to make sure everything is OK

Stage 2: Run on all PRs and pushes to master
  - Job Lint: Makes sure dep, "make gen", "make format", and "make lint"
              are all happy.
  - Job Build 1: Make sure "go get" and "make" will work. This job will
                 later run unit tests.
  - Job Build 2: Same as Job Build 1, except with another go version.
  - Job Integeration: Run integration tests (needs sudo, so needs VM)

Stage 3: Run on releases (if other stages pass)
  - Job Deploy: Publishes amd64 binaries to GitHub.
.travis.yml
bin/files-changed [new file with mode: 0755]