Skip to content

Instantly share code, notes, and snippets.

@megawac
Created May 5, 2015 19:48
Show Gist options
  • Save megawac/ccc4dccdcdc8592a8618 to your computer and use it in GitHub Desktop.
Save megawac/ccc4dccdcdc8592a8618 to your computer and use it in GitHub Desktop.
NIM travis.yml file
language: C
compiler:
- gcc
before_install:
# Install nim
- git clone -b master git://github.com/Araq/Nim.git --depth 1
- cd Nim
- git clone -b master --depth 1 git://github.com/nim-lang/csources
- cd csources && sh build.sh
- cd ..
- bin/nim c koch
- ./koch boot -d:release
- echo 'export PATH=~/Nim/bin:$PATH' >> ~/.profile
# Install nimble
- cd ~
- git clone https://github.com/nim-lang/nimble.git --depth 1
- cd nimble
- nim c -r src/nimble install
- echo 'export PATH=~/nimble/bin:$PATH' >> ~/.profile
install:
- source ~/.profile
- nimble build
script:
- nim compile --run test/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment