summary refs log tree commit diff stats
path: root/.travis.yml
blob: f68375e9396baa3895c57c75f006ab27118e319e (plain) (blame)
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
sudo: false
language: c
os:
  - linux
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libsdl1.2-dev
    - libgc-dev
before_script:
  - set -e
  - wget http://flatassembler.net/fasm-1.71.39.tgz
  - tar xvf fasm-1.71.39.tgz
  - 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:$(pwd)/fasm:$PATH
script:
  - nim c koch
  - ./koch boot
  - ./koch boot -d:release
  - nim e install_nimble.nims
  - nimble update
  - nimble install zip
  - nimble install opengl
  - nimble install sdl1
  - nimble install jester
  - nimble install niminst
  - nim c --taintMode:on tests/testament/tester
  - tests/testament/tester --pedantic all
  - ./koch csource
  - ./koch xz