aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 8632daf9724dba021efbd5bd146556f95b0182b3 (plain)
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
os:
  - linux
  - osx

language: c

env:
  - BRANCH=0.19.0
  - BRANCH=0.19.2
  - BRANCH=devel

cache:
  directories:
    - "$HOME/.choosenim/toolchains/nim-0.19.0"
    - "$HOME/.choosenim/toolchains/nim-0.19.2"

install:
  - export CHOOSENIM_CHOOSE_VERSION=$BRANCH
  - |
      curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
      sh init.sh -y
  - export PATH=$HOME/.nimble/bin:$PATH

script:
  - nimble install -y
  - nimble test
  - nimble --nimbleDir:`pwd`/test install nimterop -y