2016-06-30 23:23:55 +02:00
|
|
|
language: nix
|
2017-03-23 23:39:45 +01: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 12:34:59 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2017-03-24 17:38:42 +01:00
|
|
|
sudo: required
|
2016-06-27 23:29:12 +02:00
|
|
|
script:
|
2016-12-15 22:42:50 +01:00
|
|
|
- ./maintainers/scripts/travis-nox-review-pr.sh nixpkgs-verify nixpkgs-manual nixpkgs-tarball nixpkgs-unstable
|
2016-07-07 21:18:42 +02:00
|
|
|
- ./maintainers/scripts/travis-nox-review-pr.sh nixos-options nixos-manual
|
2017-08-14 22:05:55 +02:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Test Nixpkgs evaluation & NixOS manual build"
|
2016-06-27 23:29:12 +02:00
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
2016-07-18 23:09:25 +02:00
|
|
|
before_script:
|
2016-07-19 06:09:04 +02:00
|
|
|
- sudo mount -o remount,exec,size=2G,mode=755 /run/user
|
2016-07-25 20:56:07 +02:00
|
|
|
script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr
|
2017-08-14 22:05:55 +02:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Build affected packages (Linux)"
|
2016-05-31 12:34:59 +02:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
2016-07-25 20:56:07 +02:00
|
|
|
script: ./maintainers/scripts/travis-nox-review-pr.sh nox pr
|
2017-08-14 22:05:55 +02:00
|
|
|
env:
|
|
|
|
- BUILD_TYPE="Build affected packages (macOS)"
|
2016-07-04 19:39:35 +02:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- GITHUB_TOKEN=5edaaf1017f691ed34e7f80878f8f5fbd071603f
|
2017-06-03 18:13:29 +02:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|