package An official xmake package repository https://xrepo.xmake.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

28 lines
802 B

sudo: false
language: C
os:
- linux
- osx
compiler:
- gcc
- clang
install:
- git clone --branch=dev https://github.com/xmake-io/xmake.git tboox/xmake --depth 1
- cd ./tboox/xmake
- ./scripts/get.sh __local__
- cd -
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
wget -q https://dl.google.com/android/repository/android-ndk-r19c-linux-x86_64.zip;
unzip -q -o ./android-ndk-r19c-linux-x86_64.zip;
fi
script:
- travis_wait 60 xmake l ./scripts/test.lua -D
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
travis_wait 60 xmake l ./scripts/test.lua -D -p iphoneos;
brew install mingw-w64;
CC="" travis_wait 60 xmake l ./scripts/test.lua -D -p mingw;
else
travis_wait 60 xmake l ./scripts/test.lua -v -D -p android --ndk=`pwd`/android-ndk-r19c;
fi