summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitanSnow <[email protected]>2017-05-10 17:51:43 +0800
committerTitanSnow <[email protected]>2017-05-10 18:00:11 +0800
commit46e769d8b27683b1f74776598ef1fa330cdec0a6 (patch)
treeef9d7c6343fbb49de3d682fccf73d3b933de7052
parentb87438fbe8e8fe7b971fb1bd1dd4675ae3efbf64 (diff)
use get.sh to build
-rw-r--r--.travis.yml23
1 files changed, 6 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml
index e4ddbb9d2..4959a4291 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,23 +1,12 @@
-sudo: required
+sudo: false
language: C
os:
- linux
- osx
-install:
- - cd ..
- - cp -r xmake xmake4build
- - cd xmake4build
- - make build; sudo make install
- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update --verbose; fi
- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install dmd --verbose; fi
- - if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install rust --verbose; fi
-
script:
- - cd ../xmake/core
- - xmake -v
- - sudo cp -v build/xmake /usr/local/share/xmake
- - xmake --version
- - xmake create test_project
- - cd test_project
- - xmake
+ - scripts/get.sh __local__
+ - xmake lua versioninfo
+ - xmake -P core
+ - $(cat $(which xmake)|grep XMAKE_PROGRAM_DIR)
+ - core/build/xmake lua versioninfo