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.

29 lines
802 B

6 years ago
sudo: false
language: C
os:
- linux
- osx
compiler:
- gcc
- clang
install:
6 years ago
- git clone --branch=dev https://github.com/xmake-io/xmake.git tboox/xmake --depth 1
6 years ago
- cd ./tboox/xmake
- ./scripts/get.sh __local__
- cd -
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then
6 years ago
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
6 years ago
script:
6 years ago
- 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
6 years ago
travis_wait 60 xmake l ./scripts/test.lua -v -D -p android --ndk=`pwd`/android-ndk-r19c;
fi