mirror of
https://github.com/status-im/nim-eth-p2p.git
synced 2025-01-13 16:24:44 +00:00
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
|
sudo: required
|
||||||
language: c
|
services:
|
||||||
os:
|
- docker
|
||||||
- linux
|
before_install:
|
||||||
# - osx
|
- docker pull statusteam/nim-base
|
||||||
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 ..
|
|
||||||
script:
|
script:
|
||||||
- nimble install -y
|
- docker run statusteam/nim-base nim --version
|
||||||
- nimble test
|
- docker run -v "$(pwd):/project" -w /project statusteam/nim-base sh -c "nimble install -dy && nimble test"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user