Skip to content

Commit

Permalink
ci: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baransu committed Aug 9, 2019
1 parent 403e736 commit 85d0419
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ 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
- npm install -g esy@latest

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
Expand Down

0 comments on commit 85d0419

Please sign in to comment.