From 243e66596554bdd318ff26f15b377403ea1fee6a Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 29 Sep 2015 15:42:45 -0700 Subject: [PATCH 1/6] fix current directory --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2509c0b97d..6a04c4c937 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,9 @@ language: c os: linux script: - git clone --depth 1 https://github.com/nim-lang/csources.git - - cd csources && sh build.sh + - cd csources + - sh build.sh + - cd .. - ./bin/nim c koch - ./koch boot - ./koch boot -d:release From 52230e2ae05a927ced6feb566440430760ce0545 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 29 Sep 2015 15:51:18 -0700 Subject: [PATCH 2/6] set PATH for tests --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6a04c4c937..c451586511 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,4 +9,5 @@ script: - ./koch boot - ./koch boot -d:release after_script: + - export PATH=$(pwd)/bin:$PATH - ./koch test From dd1e0bd8366d96a8d7b800b5528880d0fe505489 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 29 Sep 2015 15:51:31 -0700 Subject: [PATCH 3/6] run in travisci containers --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index c451586511..8001b43554 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +sudo: false language: c os: linux script: From 7f619c75e62cd615b0c4789d3e211718024e6eb8 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 29 Sep 2015 15:51:43 -0700 Subject: [PATCH 4/6] build on macosx too --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8001b43554..061dd8188d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ sudo: false language: c -os: linux +os: + - linux + - osx script: - git clone --depth 1 https://github.com/nim-lang/csources.git - cd csources From a90241b8c455f176f24e5866d20afea156ba92fc Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 29 Sep 2015 16:20:51 -0700 Subject: [PATCH 5/6] remove mac builds for now --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 061dd8188d..27daab34b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ sudo: false language: c os: - linux - - osx script: - git clone --depth 1 https://github.com/nim-lang/csources.git - cd csources From 517312467eb5be2406572384aaa3c75f7bb4a532 Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Tue, 29 Sep 2015 16:22:47 -0700 Subject: [PATCH 6/6] add libcurl and libsdl1 headers --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 27daab34b1..486feb1274 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,11 @@ sudo: false language: c os: - linux +addons: + apt: + packages: + - libcurl4-openssl-dev + - libsdl1.2-dev script: - git clone --depth 1 https://github.com/nim-lang/csources.git - cd csources