forked from mame/quine-relay
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
108 additions
and
56 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
language: ruby | ||
rvm: | ||
- 2.1.0 | ||
env: PATH=/usr/games:$PATH | ||
before_install: | ||
- sudo apt-get install -qq scala gauche scilab bash slsh gnu-smalltalk spl-core mlton | ||
tcl valac iverilog mono-vbnc xsltproc yorick zoem aplus-fsf gnat afnix algol68g | ||
gawk boo bf gcc g++ mono-mcs clojure open-cobol coffeescript clisp gforth f2c gfortran | ||
golang groovy ghc icont iconx intercal jasmin-sable openjdk-6-jdk llvm ucblogo lua5.2 | ||
make maxima mono-devel nasm neko nickle nodejs gobjc ocaml octave pari-gp parrot | ||
fp-compiler perl php5-cli pike7.8 ghostscript bsdgames swi-prolog python r-base | ||
ratfor regina-rexx | ||
before_script: | ||
- cd vendor/ | ||
- make | ||
- cd ../ | ||
script: | ||
- make |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
require "yaml" | ||
require_relative "code-gen" | ||
|
||
apts = CodeGen::List.reverse.flat_map {|c| c.steps.map {|step| step.apt } } | ||
|
||
utopic_to_precise = { | ||
"clojure1.4" => "clojure", | ||
} | ||
|
||
apts = apts.flatten.map {|apt| utopic_to_precise[apt] || apt }.compact | ||
apts.delete("ruby2.0") | ||
|
||
yaml = {} | ||
yaml["language"] = "ruby" | ||
yaml["rvm"] = ["2.1.0"] | ||
yaml["env"] = "PATH=/usr/games:$PATH" | ||
yaml["before_install"] = [ | ||
"sudo apt-get install -qq #{ apts.join(" ") }", | ||
] | ||
yaml["before_script"] = [ | ||
"cd vendor/", | ||
"make", | ||
"cd ../", | ||
] | ||
yaml["script"] = ["make"] | ||
|
||
|
||
File.write("../.travis.yml", YAML.dump(yaml)) |