diff options
-rwxr-xr-x | scripts/travis | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/travis b/scripts/travis index e54f1f0..95f9902 100755 --- a/scripts/travis +++ b/scripts/travis | |||
@@ -3,10 +3,10 @@ set -e | |||
3 | 3 | ||
4 | ./autogen.sh | 4 | ./autogen.sh |
5 | 5 | ||
6 | if "x$ARCH" = "xnative"; then | 6 | if [ "x$ARCH" = "xnative" ]; then |
7 | # test autotools | 7 | # test autotools |
8 | ./configure | 8 | ./configure |
9 | if `uname` = "Darwin"; then | 9 | if [ `uname` = "Darwin" ]; then |
10 | # OS X runs out of resources if we run 'make -j check' | 10 | # OS X runs out of resources if we run 'make -j check' |
11 | make check | 11 | make check |
12 | else | 12 | else |
@@ -21,7 +21,7 @@ if "x$ARCH" = "xnative"; then | |||
21 | cd build | 21 | cd build |
22 | 22 | ||
23 | # test cmake and ninja | 23 | # test cmake and ninja |
24 | if `uname` = "Darwin"; then | 24 | if [ `uname` = "Darwin" ]; then |
25 | cmake .. | 25 | cmake .. |
26 | make | 26 | make |
27 | else | 27 | else |
@@ -33,7 +33,7 @@ if "x$ARCH" = "xnative"; then | |||
33 | fi | 33 | fi |
34 | else | 34 | else |
35 | CPU=i686 | 35 | CPU=i686 |
36 | if "x$ARCH" = "xmingw64"; then | 36 | if [ "x$ARCH" = "xmingw64" ]; then |
37 | CPU=x86_64 | 37 | CPU=x86_64 |
38 | fi | 38 | fi |
39 | export CC=$CPU-w64-mingw32-gcc | 39 | export CC=$CPU-w64-mingw32-gcc |