Use statusim docker image
This commit is contained in:
parent
3615515fd9
commit
9e74414d1a
26
.travis.yml
26
.travis.yml
|
@ -1,20 +1,8 @@
|
|||
sudo: false
|
||||
language: c
|
||||
os:
|
||||
- linux
|
||||
# - osx
|
||||
dist: trusty
|
||||
before_script:
|
||||
- git clone https://github.com/nim-lang/Nim.git
|
||||
- cd Nim
|
||||
- git clone --depth 1 https://github.com/nim-lang/csources
|
||||
- cd csources && sh build.sh
|
||||
- cd ..
|
||||
- bin/nim c koch
|
||||
- ./koch boot -d:release
|
||||
- ./koch nimble
|
||||
- export PATH=$(pwd)/bin:$PATH
|
||||
- cd ..
|
||||
sudo: required
|
||||
services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker pull statusteam/nim-base
|
||||
script:
|
||||
- nimble install -y
|
||||
- nimble test
|
||||
- docker run statusteam/nim-base nim --version
|
||||
- docker run -v "$(pwd):/project" -w /project statusteam/nim-base sh -c "nimble install -dy && nimble test"
|
||||
|
|
Loading…
Reference in New Issue