From c885f99263597cbcadd2bf1d5b5506f811fd0557 Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Mon, 27 Mar 2017 09:51:34 +0800 Subject: self_build --- .travis.yml | 8 +++++--- appveyor.yml | 10 +++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b2df0bb0..189363aa8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,12 +10,14 @@ branches: - dev install: + - cd .. + - cp -r xmake xmake4build + - cd xmake4build - sudo ./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: - - xmake create -P ./test - - xmake -P ./test - - ./tests/tests + - cd ../xmake/core + - xmake -v diff --git a/appveyor.yml b/appveyor.yml index b8a88d8b5..51b27fb35 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,10 +14,6 @@ before_build: - cmd: dir C:\xmake build_script: - - cmd: cd tests\console_c - - cmd: if %platform%==Win32 xmake f -m debug - - cmd: if %platform%==Win64 xmake f -m debug -a x64 - - cmd: xmake - -test_script: - - cmd: xmake --version + - cmd: cd core + - cmd: if %platform%==Win64 xmake f -a x64 + - cmd: xmake -v -- cgit v1.3.1 From 50b365974ee385a9a84a309e74fac70d426fc4bc Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Mon, 27 Mar 2017 09:53:12 +0800 Subject: build other branch --- .travis.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 189363aa8..6b29ffd15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,6 @@ os: - linux - osx -branches: - only: - - master - - dev - install: - cd .. - cp -r xmake xmake4build -- cgit v1.3.1 From 352ce0133a96432e52eac12cb3ebe7fb6a8cb675 Mon Sep 17 00:00:00 2001 From: TitanSnow Date: Mon, 27 Mar 2017 10:03:51 +0800 Subject: test self after building --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6b29ffd15..0df1414a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,8 @@ install: 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 -- cgit v1.3.1