|
|
@ -1,7 +1,9 @@
|
|
|
|
language: csharp
|
|
|
|
language: csharp
|
|
|
|
|
|
|
|
|
|
|
|
os:
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- osx
|
|
|
|
|
|
|
|
|
|
|
|
addons:
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
packages:
|
|
|
@ -13,10 +15,20 @@ addons:
|
|
|
|
- yarn
|
|
|
|
- yarn
|
|
|
|
- dos2unix
|
|
|
|
- dos2unix
|
|
|
|
update: true
|
|
|
|
update: true
|
|
|
|
|
|
|
|
|
|
|
|
solution: src/Lidarr.sln
|
|
|
|
solution: src/Lidarr.sln
|
|
|
|
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
before_install:
|
|
|
|
- nvm install 8
|
|
|
|
- nvm install 10
|
|
|
|
- nvm use 8
|
|
|
|
- nvm use 10
|
|
|
|
|
|
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
|
|
|
|
|
|
|
|
- export PATH=$HOME/.yarn/bin:$PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cache:
|
|
|
|
|
|
|
|
yarn: true
|
|
|
|
|
|
|
|
directories:
|
|
|
|
|
|
|
|
- node_modules
|
|
|
|
|
|
|
|
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- ./build.sh
|
|
|
|
- ./build.sh
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./test.sh Mac Unit; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./test.sh Mac Unit; fi
|
|
|
|