OSDN Git Service

Fix Travis CI build
authorNicolas Capens <capn@google.com>
Mon, 18 Mar 2019 13:54:20 +0000 (09:54 -0400)
committerNicolas Capens <nicolascapens@google.com>
Mon, 18 Mar 2019 14:18:19 +0000 (14:18 +0000)
The /build directory is checked into the repository so the
'mkdir build' produced an error that it already exists.

We'll switch to using Kokoro for CI as soon as it completely replaces
all uses of Travis CI.

Bug b/115784742

Change-Id: Ie04edccbb7a875f105353eec203fcabce2f33bc3
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27488
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
.travis.yml

index 361d8e9..815c05f 100644 (file)
@@ -19,7 +19,7 @@ env:
 
 script:
   - $CXX --version
-  - mkdir build && cd build
+  - mkdir -p build && cd build
   - cmake -DREACTOR_BACKEND=$REACTOR_BACKEND ..
   - make -j2
   - ./unittests