-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
47 lines (39 loc) · 874 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
46
47
sudo: required
os:
- linux
language: c
dist: xenial
matrix:
include:
# Build and test against the master (stable) and devel branches of Nim
# Build and test using both gcc and clang
- os: linux
env: CHANNEL=stable
compiler: gcc
- os: linux
env: CHANNEL=devel
compiler: gcc
cache:
directories:
- "$HOME/.nimble"
- "$HOME/.choosenim"
addons:
apt:
packages:
- libcairo2
- libcairo2-dev
- imagemagick
install:
- curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
- sh init.sh -y
- export PATH=$HOME/.nimble/bin:$PATH
- nimble refresh -y
- choosenim $CHANNEL
- nim --version
- nimble install ntangle -y
script:
# limit our stack size to avoid regressing after PR #36 w/o noticing
- ulimit -s 1024
- nimble install -y
- nimble -y fulltest
- nimble -y testCI