Browse Source

Updated TravisCI.

Branimir Karadžić 10 years ago
parent
commit
18dab84400
2 changed files with 6 additions and 1 deletions
  1. 1 1
      .travis.yml
  2. 5 0
      makefile

+ 1 - 1
.travis.yml

@@ -7,7 +7,7 @@ matrix:
       os: osx
 
 script:
-  make && make -C .build/projects/gmake-osx config=release64 bx.test
+  make test
 
 branches:
   only:

+ 5 - 0
makefile

@@ -220,3 +220,8 @@ tools/bin/$(OS)/bin2c$(EXE): .build/$(BUILD_OUTPUT_DIR)/bin/bin2cRelease$(EXE)
 	$(SILENT) cp $(<) $(@)
 
 tools: tools/bin/$(OS)/bin2c$(EXE)
+
+.build/$(BUILD_OUTPUT_DIR)/bin/bx.testRelease$(EXE): .build/projects/$(BUILD_PROJECT_DIR)
+	$(SILENT) make -C .build/projects/$(BUILD_PROJECT_DIR) bx.test config=$(BUILD_TOOLS_CONFIG)
+
+test: .build/$(BUILD_OUTPUT_DIR)/bin/bx.testRelease$(EXE)