From a128837433fd27eee67672ad0dddc4d05d4af239 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 9 Oct 2019 22:07:10 +0200 Subject: [PATCH] :wrench: ignore win --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04ad465f..e26edfe1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,13 +44,18 @@ install: pip install --user urllib3[secure]; pip install --user cpp-coveralls; fi; +# - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1 ]; then gem install coveralls-lcov; fi; - if [ $(uname) != "Linux" ] && [ $(uname) != "Darwin" ]; then choco install make; export BUILD_ON_WINDOWS=1; export VALGRIND="NO_VALGRIND"; export SEVERITY=1; - export LDFLAGS="$LDLAGS -lpsapi -shared -fPIC -Wl,--export-all -Wl,--enable-auto-import"; - export LIBS="$LIBS -lpsapi -shared -fPIC -Wl,--export-all -Wl,--enable-auto-import"; + if [ $(CC) = "gcc" ]; + then export LDFLAGS="$LDLAGS -lpsapi -shared -fPIC -Wl,--export-all -Wl,--enable-auto-import"; + else export LDFLAGS="$LDLAGS -lpsapi -shared -fPIC"; + fi; + export LIBS="$LIBS -lpsapi -shared -fPIC"; + fi; before_script: - git submodule update --init util ast; -- 2.43.0