diff options
| author | ruki <[email protected]> | 2016-01-06 09:37:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-01-06 09:37:33 +0800 |
| commit | c4a21d88093044a5b42660d62c9eee1f2db7fc55 (patch) | |
| tree | 20671b6231ddbe6485bc440e913c60aed666cd82 | |
| parent | e8c79d49cde893547e5e7346e9ae1203b03794f8 (diff) | |
add .travis.yml
| -rw-r--r-- | .travis.yml | 10 | ||||
| -rwxr-xr-x | install | 5 |
2 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..380cf4cb7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +sudo: required +language: lua + +install: + - ./install + +script: + - xmake create -P ./test + - cd ./test + - xmake @@ -12,6 +12,7 @@ prefix=/usr/local if [ $1 ] && [ -d $1 ]; then prefix=$1 fi +echo installing to $prefix ... # probe plat uname=`uname` @@ -28,6 +29,7 @@ elif [ `uname | egrep -i cygwin` ]; then else plat=linux fi +echo plat: $plat # probe arch arch=x86 @@ -36,9 +38,10 @@ if [ $plat = "linux" ] || [ $plat = "mac" ]; then arch=x64 fi fi +echo arch: $arch # compile xmake-core -echo compiling xmake-core... +echo compiling xmake-core ... cd ./core if [ -f .config.mak ]; then rm .config.mak |
