From 85d0419756300279c8f53a2f301a7a28e46a2191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Cichoci=C5=84ski?= Date: Sat, 10 Aug 2019 00:03:49 +0200 Subject: [PATCH] ci: fix --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 72241c21..e65690ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ services: - docker before_install: + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then export TARGET_NAME=darwin-x64; fi + - if [ "$TRAVIS_OS_NAME" = "linux" ]; then export TARGET_NAME=linux-x64; fi - nvm install --lts - nvm use --lts - node -v @@ -15,12 +17,9 @@ before_install: before_script: - esy install - # - export IS_GRAPHQL_PPX_CI=true - cd tests && npm install && cd ../ - # - "./.ci/before_script_$TRAVIS_OS_NAME.sh" script: - # - "./.ci/build_script_$TRAVIS_OS_NAME.sh" - esy build - cd tests && npm run test && cd ../ - mv _build/default/src/bucklescript_bin/bin.exe graphql_ppx-$TARGET_NAME.exe