language: c cache: ccache matrix: include: # Build and test against the master (stable) and devel branches of Nim # Build and test using both gcc and clang - os: linux env: CHANNEL=stable compiler: gcc - os: linux env: CHANNEL=devel compiler: gcc # On OSX we only test against clang (gcc is mapped to clang by default) - os: osx env: CHANNEL=stable compiler: clang allow_failures: # Ignore failures when building against the devel Nim branch # Also ignore OSX, due to very long build time and Homebrew/curl SSLRead errors - env: CHANNEL=devel - os: osx fast_finish: true install: - export CHOOSENIM_NO_ANALYTICS=1 - curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh - sh init.sh -y - export PATH=~/.nimble/bin:$PATH - echo "export PATH=~/.nimble/bin:$PATH" >> ~/.profile - choosenim $CHANNEL script: - nimble refresh - nimble test branches: except: - gh-pages