2016-06-30 21:23:55 +00:00
|
|
|
language: nix
|
2017-03-23 22:39:45 +00:00
|
|
|
sudo: true
|
|
|
|
# 'sudo: false' == containers that start fast, but only get 4G ram;
|
|
|
|
# 'sudo: true' == VMs that start slow, but with 8G
|
|
|
|
# ..as per: https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
|
|
|
|
# Nixpkgs PR tests OOM with 4G: https://github.com/NixOS/nixpkgs/issues/24200
|
|
|
|
|
2016-05-31 10:34:59 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2017-03-24 16:38:42 +00:00
|
|
|
sudo: required
|
2016-06-27 21:29:12 +00:00
|
|
|
script:
|
2016-12-15 21:42:50 +00:00
|
|
|
- ./maintainers/scripts/travis-nox-review-pr.sh nixpkgs-verify nixpkgs-manual nixpkgs-tarball nixpkgs-unstable
|
2016-07-07 19:18:42 +00:00
|
|
|
- ./maintainers/scripts/travis-nox-review-pr.sh nixos-options nixos-manual
|
2017-08-14 20:05:55 +00:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Test Nixpkgs evaluation & NixOS manual build"
|
2016-06-27 21:29:12 +00:00
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2016-07-18 21:09:25 +00:00
|
|
|
before_script:
|
2016-07-19 04:09:04 +00:00
|
|
|
- sudo mount -o remount,exec,size=2G,mode=755 /run/user
|
2016-07-25 18:56:07 +00:00
|
|
|
script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr
|
2017-08-14 20:05:55 +00:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Build affected packages (Linux)"
|
2016-05-31 10:34:59 +00:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
2016-07-25 18:56:07 +00:00
|
|
|
script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr
|
2017-08-14 20:05:55 +00:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Build affected packages (macOS)"
|
2016-07-04 17:39:35 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f
|
2017-06-03 16:13:29 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|