Skip to content

Instantly share code, notes, and snippets.

@vladfaust
Created October 8, 2018 10:14
Show Gist options
  • Save vladfaust/9cf8ca03b00a3ab5c0e86ca8381acad7 to your computer and use it in GitHub Desktop.
Save vladfaust/9cf8ca03b00a3ab5c0e86ca8381acad7 to your computer and use it in GitHub Desktop.
Docker-based Crystal nightly builds on Travis CI
dist: xenial
language: generic
sudo: required
services:
- docker
before_install:
- docker pull crystallang/crystal:nightly
script:
- docker run -v ${PWD}:/x -w /x crystallang/crystal:nightly bash -c "/usr/bin/shards install"
- docker run -v ${PWD}:/x -w /x crystallang/crystal:nightly bash -c "/usr/bin/crystal spec"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment