New: Enable OSX builds with Travis (#497)
parent
66c524140d
commit
d45d0ab1f6
@ -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…
Reference in new issue