2017-11-12 14:18:00 +00:00
|
|
|
language: csharp
|
2019-03-16 04:03:00 +00:00
|
|
|
|
2018-09-17 01:24:44 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2019-03-16 04:03:00 +00:00
|
|
|
|
2019-02-16 14:49:24 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- dos2unix
|
|
|
|
- libchromaprint-tools
|
|
|
|
update: true
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- yarn
|
|
|
|
- dos2unix
|
|
|
|
update: true
|
2019-03-16 04:03:00 +00:00
|
|
|
|
2017-11-12 14:18:00 +00:00
|
|
|
solution: src/Lidarr.sln
|
2019-03-16 04:03:00 +00:00
|
|
|
|
2018-09-17 01:24:44 +00:00
|
|
|
before_install:
|
2019-03-16 04:03:00 +00:00
|
|
|
- nvm install 10
|
|
|
|
- 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
|
|
|
|
|
2017-11-12 14:18:00 +00:00
|
|
|
script:
|
|
|
|
- ./build.sh
|
2019-02-16 14:49:24 +00:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./test.sh Mac Unit; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./test.sh Linux Unit; fi
|