Created
May 5, 2015 19:48
-
-
Save megawac/ccc4dccdcdc8592a8618 to your computer and use it in GitHub Desktop.
NIM travis.yml file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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