diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-10-28 14:35:43 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-10-28 14:35:43 (GMT) |
commit | 9bf331afc6e6984406d9b3338e33edfd9439fc69 (patch) | |
tree | c2cd8180955f71b3567bf4e06dccac9843b9346f /Makefile | |
parent | 6436eca4faeb3ffa1c17179d24315634e5342e6d (diff) | |
download | lz4-9bf331afc6e6984406d9b3338e33edfd9439fc69.zip lz4-9bf331afc6e6984406d9b3338e33edfd9439fc69.tar.gz lz4-9bf331afc6e6984406d9b3338e33edfd9439fc69.tar.bz2 |
new Travis CI build matrix
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -89,6 +89,16 @@ NONTEXT = images/image00.png images/image01.png images/image02.png \ SOURCES = $(TEXT) $(NONTEXT) +# Select test target for Travis CI's Build Matrix +ifeq ($(LZ4_TRAVIS_CI_ENV),-dist) +TRAVIS_TARGET=dist +else ifeq ($(LZ4_TRAVIS_CI_ENV),-examples) +TRAVIS_TARGET=examples +else +TRAVIS_TARGET=test-prg +endif + + default: liblz4 @cd $(PRGDIR); $(MAKE) -e @@ -167,8 +177,14 @@ dist: clean @echo Distribution $(DISTRIBNAME) built test: - make dist - @cd examples; $(MAKE) -e $@ @cd $(PRGDIR); $(MAKE) -e $@ +test-travis: $(TRAVIS_TARGET) + +examples: + cd examples; $(MAKE) -e test + +test-prg: + @cd $(PRGDIR); $(MAKE) -e test-travis + endif |