Skip to content

Instantly share code, notes, and snippets.

@makenowjust
Created November 28, 2015 07:19
Show Gist options
  • Select an option

  • Save makenowjust/707e5fd13861fb7274e6 to your computer and use it in GitHub Desktop.

Select an option

Save makenowjust/707e5fd13861fb7274e6 to your computer and use it in GitHub Desktop.
.travis.yml of the Crystal
language: generic
sudo: required
services:
- docker
matrix:
include:
- env: ARCH=i386 ARCH_CMD=linux32
os: linux
- env: ARCH=x86_64 ARCH_CMD=linux64
os: linux
- os: osx
before_install: bin/ci prepare_system
install: bin/ci prepare_build
script:
- bin/ci with_build_env 'env CRYSTAL_PATH=/opt/crystal/src make crystal; make spec doc'
- bin/ci with_build_env 'find samples -name "*.cr" | xargs -L 1 ./bin/crystal build --no-codegen'
branches:
only:
- master
- gh-pages
notifications:
irc:
channels:
- "irc.freenode.net#crystal-lang"
use_notice: true
skip_join: true
template:
- "%{repository_slug}#%{commit} (%{branch} - %{commit_subject}): %{message} %{build_url}"
slack:
secure: Ng3nTqGWY+9p1pS6yjGqDhmRvdgbIZgTNpMWbO/ngwpCyicmD3jafZkShqqXbULZTJJr3OxIGzi6GHGusT0Ic/Pi9JCM3X3v/xuBruKIR+EnNyPo7IL4ZYAlwnXyJHlCHHDBq0gSHGvGJwsXn6IgZBPRfeIq+CCyQHVPyvc9EHE=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment