File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,6 @@ matrix:
85
85
- python : " nightly"
86
86
env : PRE=--pre
87
87
- os : osx
88
- osx_image : xcode7.3
89
88
language : generic # https://github.com/travis-ci/travis-ci/issues/2312
90
89
env : MOCK=mock
91
90
only : master
@@ -109,8 +108,8 @@ before_install:
109
108
export PATH=$PATH:/tmp/λ
110
109
export PATH=/usr/lib/ccache:$PATH
111
110
else
112
- brew update
113
- brew install python3 libpng ffmpeg imagemagick mplayer ccache
111
+ ci/travis/silence brew update
112
+ brew install python3 ffmpeg imagemagick mplayer ccache
114
113
# make 'python' mean 'python3'
115
114
ln -sf /usr/local/bin/python3 /usr/local/bin/python
116
115
hash -r
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Run a command, hiding its standard output and error if its exit
4
+ # status is zero.
5
+
6
+ stdout=$( mktemp -t stdout) || exit 1
7
+ stderr=$( mktemp -t stderr) || exit 1
8
+ " $@ " > $stdout 2> $stderr
9
+ code=$?
10
+ if [[ $code != 0 ]]; then
11
+ cat $stdout
12
+ cat $stderr >&2
13
+ exit $code
14
+ fi
You can’t perform that action at this time.
0 commit comments