diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-16 23:10:32 -0700 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-16 23:35:28 -0700 |
commit | 7037c781e0c30f2a7805df20c982d557e3bd69ca (patch) | |
tree | e2748e4094bda649abd6573e17b6229d2f42a3ee | |
parent | Merge pull request #497 from jonls/remove-geoclue-1 (diff) | |
download | redshift-ng-7037c781e0c30f2a7805df20c982d557e3bd69ca.tar.gz redshift-ng-7037c781e0c30f2a7805df20c982d557e3bd69ca.tar.bz2 redshift-ng-7037c781e0c30f2a7805df20c982d557e3bd69ca.tar.xz |
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 |