diff options
| author | ruki <[email protected]> | 2017-02-27 11:23:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-27 11:23:42 +0800 |
| commit | 2553386cdc1ab5c3a06072216997d494a086dd74 (patch) | |
| tree | 9e4b61af6b1e31ccc41f48c0a5ab0808ef0897a9 | |
| parent | 6ef7b3dd56c093a4a7de91819915694ca3303ddc (diff) | |
improve travis and tests scipts
| -rw-r--r-- | .travis.yml | 5 | ||||
| -rwxr-xr-x | tests/tests | 20 |
2 files changed, 21 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index f486b36c1..6274ae854 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,11 @@ branches: install: - sudo ./install + - if [ "$TRAVIS_OS_NAME" = "osx" ]; then + brew install go + brew install dmd + brew install rust + fi script: - xmake create -P ./test diff --git a/tests/tests b/tests/tests index 0302826aa..1e826a652 100755 --- a/tests/tests +++ b/tests/tests @@ -48,10 +48,6 @@ build "./tests/console_c++" build "./tests/static_library_c++" build "./tests/shared_library_c++" -# build for go -# build "./tests/console_go" -# build "./tests/static_library_go" - # merge object build "./tests/merge_object" @@ -61,8 +57,24 @@ build "./tests/merge_static_library" # build for macosx if [ $host = "macosx" ]; then + # build for objc/c++ build "./tests/console_objc" build "./tests/console_objc++" + + # build for swift build "./tests/console_swift" + + # build for go + build "./tests/console_go" + build "./tests/static_library_go" + + # build for dlang + build "./tests/console_dlang" + build "./tests/static_library_dlang" + + # build for rust + build "./tests/console_rust" + build "./tests/static_library_rust" +fi fi |
