Enabled osx on travis (#15855)
This commit is contained in:
parent
cf32f82b8d
commit
36cc45782b
@ -1,7 +1,16 @@
|
|||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
language: python
|
language: python
|
||||||
python: "3.4"
|
python: "3.4"
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
before_install: ./maintainers/scripts/travis-nox-review-pr.sh nix
|
before_install: ./maintainers/scripts/travis-nox-review-pr.sh nix
|
||||||
|
- os: osx
|
||||||
|
language: generic
|
||||||
|
osx_image: xcode7.3
|
||||||
|
before_install:
|
||||||
|
- brew upgrade && brew install python
|
||||||
|
- ./maintainers/scripts/travis-nox-review-pr.sh nix
|
||||||
install: ./maintainers/scripts/travis-nox-review-pr.sh nox
|
install: ./maintainers/scripts/travis-nox-review-pr.sh nox
|
||||||
script: ./maintainers/scripts/travis-nox-review-pr.sh build
|
script: ./maintainers/scripts/travis-nox-review-pr.sh build
|
||||||
|
@ -27,7 +27,11 @@ elif [[ $1 == build ]]; then
|
|||||||
nix-build nixos/release.nix -A options
|
nix-build nixos/release.nix -A options
|
||||||
|
|
||||||
echo "=== Checking tarball creation"
|
echo "=== Checking tarball creation"
|
||||||
|
if [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||||
|
echo "Skipped, as not working on darwin"
|
||||||
|
else
|
||||||
nix-build pkgs/top-level/release.nix -A tarball
|
nix-build pkgs/top-level/release.nix -A tarball
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
|
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
|
||||||
echo "=== Not a pull request"
|
echo "=== Not a pull request"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user