forked from nim-lang/Nim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (42 loc) · 873 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
sudo: false
language: c
os:
- linux
- osx
dist: trusty
matrix:
allow_failures:
- os: osx
addons:
apt:
packages:
- libcurl4-openssl-dev
- libsdl1.2-dev
- libgc-dev
brew:
packages:
- boehmgc
- node
before_script:
- set -e
- git clone --depth 1 https://github.com/nim-lang/csources.git
- cd csources
- sh build.sh
- cd ..
- sed -i -e 's,cc = gcc,cc = clang,' config/nim.cfg
- export PATH=$(pwd)/bin:$PATH
script:
- nim c koch
- ./koch boot
- ./koch boot -d:release
- ./koch nimble
- nim e tests/test_nimscript.nims
- nimble install zip -y
- nimble install opengl
- nimble install sdl1
- nimble install jester@#head
- nimble install niminst
- nim c --taintMode:on -d:nimCoroutines tests/testament/tester
- tests/testament/tester --pedantic all -d:nimCoroutines
- ./koch csource
- ./koch xz