diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-08-14 23:05:55 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2017-08-14 23:33:10 +0300 |
commit | fe078d796d517f274257aaadbd5f0c03e0ec5aa9 (patch) | |
tree | 42c861a4f461ba4ac8f3ea042edd0f1f563775a5 | |
parent | 59ad93a4f37bacdf442090181102beaf9b7bf53f (diff) |
travis: Add dummy environment variables as build labels
Travis doesn't have explicit support for labeling builds
in a build matrix, so use a dummy environment variable as a poor man's
label.
Before: https://travis-ci.org/NixOS/nixpkgs/builds/264390928
After: https://travis-ci.org/NixOS/nixpkgs/builds/264499784
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 8ecd12642a79..e746d390e760 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,15 +12,21 @@ matrix: script: - ./maintainers/scripts/travis-nox-review-pr.sh nixpkgs-verify nixpkgs-manual nixpkgs-tarball nixpkgs-unstable - ./maintainers/scripts/travis-nox-review-pr.sh nixos-options nixos-manual + env: + - BUILD_TYPE="Test Nixpkgs evaluation & NixOS manual build" - os: linux sudo: required dist: trusty before_script: - sudo mount -o remount,exec,size=2G,mode=755 /run/user script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr + env: + - BUILD_TYPE="Build affected packages (Linux)" - os: osx osx_image: xcode7.3 script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr + env: + - BUILD_TYPE="Build affected packages (macOS)" env: global: - GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f |