Skip to content

Commit

Permalink
build: run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
thebaptiste committed Dec 26, 2019
1 parent d2277f8 commit 01f3295
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
pipeline:
build:
image: metwork/mfcom-${OS_VERSION}-buildimage:integration
image: metwork/mfxxx-${OS_VERSION}-buildimage:integration
commands:
- /opt/metwork-mfext/bin/mfext_wrapper -- make install
- /opt/metwork-mfext/bin/mfext_wrapper -- make test
- /opt/metwork-mfext/bin/mfext_wrapper -- make clean

matrix:
OS_VERSION:
- centos6
- centos7
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ clean:
install:
cd src && $(MAKE) install

test:
cd src && $(MAKE) test
3 changes: 3 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ LIBS=

all: $(OBJECTS) $(BINARIES) $(LIBS)

test: test_log_proxy
./test_log_proxy && echo "OK"

clean:
rm -f $(OBJECTS) $(BINARIES) core.* vgcore.*

Expand Down

0 comments on commit 01f3295

Please sign in to comment.