From: fennecdjay Date: Wed, 9 Oct 2019 20:07:10 +0000 (+0200) Subject: :wrench: ignore win X-Git-Tag: nightly~2198^2~61 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a128837433fd27eee67672ad0dddc4d05d4af239;p=gwion.git :wrench: ignore win --- 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;