mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 19:19:21 +00:00
Separate test build from run
This commit is contained in:
parent
8a7a8f3e06
commit
e07fc0562d
@ -5,4 +5,4 @@ before_install:
|
||||
- docker pull yglukhov/nim-base
|
||||
script:
|
||||
- docker run yglukhov/nim-base nim --version
|
||||
- docker run -v "$(pwd):/project" -w /project yglukhov/nim-base nimble install -y && ./tests/test.sh
|
||||
- docker run -v "$(pwd):/project" -w /project yglukhov/nim-base nimble install -y && ./tests/build_travis.sh && ./tests/test.sh
|
||||
|
6
tests/build_test.sh
Executable file
6
tests/build_test.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
nim c tests/code_stream_test.nim
|
||||
nim c tests/gas_meter_test.nim
|
||||
nim c tests/memory_test.nim
|
||||
nim c tests/stack_test.nim
|
5
tests/build_travis.sh
Executable file
5
tests/build_travis.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
export PATH=$PATH:/nim/bin/nim
|
||||
"$(dirname -- "$0")/build_test.sh"
|
||||
|
@ -1,9 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
nim c tests/code_stream_test.nim
|
||||
nim c tests/gas_meter_test.nim
|
||||
nim c tests/memory_test.nim
|
||||
nim c tests/stack_test.nim
|
||||
./tests/code_stream_test
|
||||
./tests/gas_meter_test
|
||||
./tests/memory_test
|
||||
|
Loading…
x
Reference in New Issue
Block a user