summary refs log tree commit diff stats
path: root/.travis.yml
blob: 605e838e5333cda8775fc12cfc0062e6b50cdcc0 (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
sudo: false
language: c
os:
  - linux
addons:
  apt:
    packages:
    - libcurl4-openssl-dev
    - libsdl1.2-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
  - ./koch test --pedantic all