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