diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-16 23:47:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-16 23:47:56 -0700 |
commit | 25451b14d0b25ca032c4380c3734c675e255e87e (patch) | |
tree | e2748e4094bda649abd6573e17b6229d2f42a3ee | |
parent | Merge pull request #497 from jonls/remove-geoclue-1 (diff) | |
parent | Enable Travis CI on macOS (diff) | |
download | redshift-ng-25451b14d0b25ca032c4380c3734c675e255e87e.tar.gz redshift-ng-25451b14d0b25ca032c4380c3734c675e255e87e.tar.bz2 redshift-ng-25451b14d0b25ca032c4380c3734c675e255e87e.tar.xz |
Merge pull request #498 from jonls/osx-travis
Enable Travis CI on macOS
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 8a060f5..8d33156 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,8 +7,8 @@ matrix: compiler: gcc dist: trusty sudo: false -# - os: osx -# compiler: clang + - os: osx + compiler: clang addons: apt: @@ -31,8 +31,17 @@ addons: install: | if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install gettext + brew link --force gettext brew install intltool + brew install python3 fi -script: | - ./bootstrap && ./configure --enable-drm --enable-vidmode --enable-randr --enable-geoclue2 --enable-gui && make -j2 distcheck +script: + - ./bootstrap + - | + if [ "$TRAVIS_OS_NAME" == "linux" ]; then + ./configure --enable-drm --enable-vidmode --enable-randr --enable-geoclue2 --enable-gui + elif [ "$TRAVIS_OS_NAME" == "osx" ]; then + ./configure --enable-corelocation --enable-quartz --enable-gui + fi + - make -j2 distcheck |