We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa01ea8 commit f19e903Copy full SHA for f19e903
.travis.yml
@@ -1,7 +1,7 @@
1
language: c
2
3
os:
4
- - linux
+# - linux
5
- osx
6
7
before_install:
@@ -15,14 +15,17 @@ before_install:
15
script:
16
# abort on any command failure
17
- set -e
18
+ # travis debug
19
+ - which file || echo no
20
21
# build and install file
22
- git clone --depth=100 git://github.com/file/file.git
23
- cd file
24
- test -z "$commit" || git checkout $commit
25
- git log -1
26
- autoreconf -f -i
- - ./configure --prefix=/usr
27
+ - case "$TRAVIS_OS_NAME" in osx) prefix=/usr/local;; linux) prefix=/usr;; esac
28
+ - ./configure --prefix=$prefix
29
- make -j4
30
# remove system file package first
31
# see https://github.com/file/file-tests/issues/3
0 commit comments