language: csharp os: - linux - osx addons: apt: packages: - dos2unix - libchromaprint-tools update: true homebrew: packages: - yarn - dos2unix update: true solution: src/Lidarr.sln before_install: - 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 script: - ./build.sh - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./test.sh Mac Unit; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./test.sh Linux Unit; fi