Fix travis.yml to enable MacOS tests.
This commit is contained in:
parent
36df1300ce
commit
bb1fa6346e
44
.travis.yml
44
.travis.yml
|
@ -1,8 +1,36 @@
|
||||||
sudo: required
|
matrix:
|
||||||
services:
|
# allow_failures:
|
||||||
- docker
|
# - os: osx
|
||||||
before_install:
|
|
||||||
- docker pull yglukhov/nim-base
|
include:
|
||||||
script:
|
- os: linux
|
||||||
- docker run yglukhov/nim-base nim --version
|
sudo: required
|
||||||
- docker run -v "$(pwd):/project" -w /project yglukhov/nim-base sh -c "nimble install -dy && nimble test"
|
services:
|
||||||
|
- docker
|
||||||
|
before_install:
|
||||||
|
- docker pull statusteam/nim-base
|
||||||
|
script:
|
||||||
|
- docker run statusteam/nim-base nim --version
|
||||||
|
- docker run -v "$(pwd):/project" -w /project statusteam/nim-base sh -c "nimble install -dy && nimble test"
|
||||||
|
|
||||||
|
- os: osx
|
||||||
|
before_install:
|
||||||
|
- git clone https://github.com/nim-lang/nim.git
|
||||||
|
- cd nim
|
||||||
|
- git remote add statusim https://github.com/status-im/nim.git
|
||||||
|
- git fetch statusim
|
||||||
|
- git config --global user.email "you@example.com"
|
||||||
|
- git config --global user.name "Your Name"
|
||||||
|
- for b in $(git branch -a --list 'statusim/status-autopatch-*'); do git merge $b; done
|
||||||
|
- git clone --depth 1 https://github.com/nim-lang/csources.git
|
||||||
|
- cd csources
|
||||||
|
- sh build.sh
|
||||||
|
- cd ..
|
||||||
|
- export PATH=$PWD/bin:$PATH
|
||||||
|
- nim c koch
|
||||||
|
- ./koch boot -d:release
|
||||||
|
- ./koch nimble
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
script:
|
||||||
|
- nimble install -dy && nimble test
|
||||||
|
|
Loading…
Reference in New Issue