1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-17 08:33:33 +00:00

Add an initial travis.yml

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
This commit is contained in:
Anton Blanchard 2019-08-27 10:40:43 +10:00 committed by Anton Blanchard
parent 7277c6b5ab
commit 2ee269abdb
2 changed files with 12 additions and 2 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
language: minimal
install: skip
services: docker
before_install: docker pull ghdl/vunit:gcc
script: docker run --rm -t -v `pwd`:/build -w /build ghdl/vunit:gcc bash -c "apt install -y python3-pexpect && make GNATMAKE='gnatmake -j'$(nproc) && make -j$(nproc) check_light"

View File

@ -61,13 +61,15 @@ tests = $(sort $(patsubst tests/%.out,%,$(wildcard tests/*.out)))
check: $(tests) test_micropython test_micropython_long
check_light: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 test_micropython test_micropython_long
$(tests): core_tb
@./scripts/run_test.sh $@
test_micropython:
test_micropython: core_tb
@./scripts/test_micropython.py
test_micropython_long:
test_micropython_long: core_tb
@./scripts/test_micropython_long.py
clean: