New: Enable OSX builds with Travis (#497)

pull/485/head
Qstick 6 years ago committed by GitHub
parent 66c524140d
commit d45d0ab1f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,13 +1,18 @@
language: csharp language: csharp
os:
- linux
- osx
solution: src/Lidarr.sln solution: src/Lidarr.sln
install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi
- nvm install 8 - nvm install 8
- nvm use 8 - nvm use 8
script: script:
- node --version
- ./build.sh - ./build.sh
- chmod +x test.sh - chmod +x test.sh
- ./test.sh Linux Unit - ./test.sh Linux Unit
after_success: after_success:
- chmod +x package.sh - chmod +x package.sh
- ./package.sh - ./package.sh

Loading…
Cancel
Save