This repository was archived by the owner on Aug 31, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed
Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change 3030
3131# Install any required tools
3232before_install :
33- - if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then sudo gem install xcpretty ; fi
33+ - |
34+ if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then
35+ rvm --default use 2.2.1
36+ gem install xcpretty
37+ fi
3438
3539# Set up the source tree by fetching Linux-specific prebuilt objects
3640install :
@@ -39,19 +43,19 @@ install:
3943
4044# Bootstrap the LCB compiler, build the default target set and run a
4145# the default test suite.
42- script : >
46+ script : |
4347 case "${TRAVIS_OS_NAME}" in
4448 linux)
45- BUILD_PLATFORM=linux ;
46- CHECK_COMMAND=xvfb-run ;
47- LICENSE_DIR="${HOME}/.runrev/licenses" ;
49+ BUILD_PLATFORM=linux
50+ CHECK_COMMAND=xvfb-run
51+ LICENSE_DIR="${HOME}/.runrev/licenses"
4852 ;;
4953 osx)
50- BUILD_PLATFORM=mac ;
51- CHECK_COMMAND= ;
52- LICENSE_DIR="${HOME}/Library/Application Support/RunRev/Licenses" ;
53- export XCODEBUILD="set -o pipefail && xcodebuild" ;
54- export XCODEBUILD_FILTER="| xcpretty" ;
54+ BUILD_PLATFORM=mac
55+ CHECK_COMMAND=
56+ LICENSE_DIR="${HOME}/Library/Application Support/RunRev/Licenses"
57+ export XCODEBUILD="set -o pipefail && xcodebuild"
58+ export XCODEBUILD_FILTER="| xcpretty"
5559 ;;
5660 esac
5761
@@ -90,4 +94,4 @@ addons:
9094 - libpopt-dev
9195 - libesd0-dev
9296 - liblcms-dev
93- - xvfb
97+ - xvfb
Original file line number Diff line number Diff line change 4545endif
4646
4747# Prettifying output for CI builds
48- ifeq ($(TRAVIS ) ,true)
49- XCODEBUILD := set -o pipefail && $(XCODEBUILD )
50- XCODEBUILD_FILTER := | xcpretty
51- else
52- XCODEBUILD_FILTER :=
53- endif
48+ XCODEBUILD_FILTER ?=
5449
5550include Makefile.common
5651
You can’t perform that action at this time.
0 commit comments