diff --git a/.appveyor.yml b/.appveyor.yml index d8f4511..4fa6d7b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -82,11 +82,10 @@ install: - git clone --depth 1 https://github.com/google/snappy build_script: - - SET PATH=%PATH:C:/Program Files/Git/usr/bin;=% - cd snappy - mkdir build - cd build - - cmake .. -G "MinGW Makefiles" + - cmake .. -G "MinGW Makefiles" -DCMAKE_IGNORE_PATH="C:/Program Files/Git/usr/bin" - mingw32-make - copy libsnappy.a C:\projects\%APPVEYOR_PROJECT_SLUG%\tests diff --git a/.travis.yml b/.travis.yml index c3971be..37ad3fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,7 +40,7 @@ script: - mkdir build - cd build && cmake ../ && make - cd ../.. - - cp snappy/build/libsnappy.a tests/libsnappy.a + - "cp snappy/build/libsnappy.a $TRAVIS_BUILD_DIR/tests/libsnappy.a" - nimble install -y > /dev/null - nimble test