OSX fix, test 0.19.0 as well
This commit is contained in:
parent
a491201bb2
commit
f2b3ffc862
3 changed files with 10 additions and 12 deletions
17
.travis.yml
17
.travis.yml
|
|
@ -5,19 +5,14 @@ os:
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# test against both stable & devel
|
- BRANCH=0.19.0
|
||||||
- BRANCH=stable
|
- BRANCH=0.19.2
|
||||||
- BRANCH=devel
|
- BRANCH=devel
|
||||||
|
|
||||||
# cache:
|
cache:
|
||||||
# directories:
|
directories:
|
||||||
# - "$HOME/.nimble"
|
- "$HOME/.choosenim/toolchains/nim-0.19.0"
|
||||||
# - "$HOME/.choosenim"
|
- "$HOME/.choosenim/toolchains/nim-0.19.2"
|
||||||
|
|
||||||
# matrix:
|
|
||||||
# allow_failures:
|
|
||||||
# - env: BRANCH=devel
|
|
||||||
# fast_finish: true
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
|
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ matrix:
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
|
- NIM_VERSION: 0.19.0
|
||||||
- NIM_VERSION: 0.19.2
|
- NIM_VERSION: 0.19.2
|
||||||
|
|
||||||
for:
|
for:
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ static:
|
||||||
|
|
||||||
const sourcePath = currentSourcePath().split({'\\', '/'})[0..^4].join("/") & "/inc/treesitter"
|
const sourcePath = currentSourcePath().split({'\\', '/'})[0..^4].join("/") & "/inc/treesitter"
|
||||||
|
|
||||||
{.passC: "-std=c11 -DUTF8PROC_STATIC".}
|
when defined(Linux):
|
||||||
|
{.passC: "-std=c11".}
|
||||||
|
{.passC: "-DUTF8PROC_STATIC".}
|
||||||
{.passC: "-I$1/include" % sourcePath.}
|
{.passC: "-I$1/include" % sourcePath.}
|
||||||
{.passC: "-I$1/src" % sourcePath.}
|
{.passC: "-I$1/src" % sourcePath.}
|
||||||
{.passC: "-I$1/../utf8proc" % sourcePath.}
|
{.passC: "-I$1/../utf8proc" % sourcePath.}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue