Update .travis.yml and linux.sh
This commit is contained in:
parent
031efa6df2
commit
4c47b28360
25
.travis.yml
25
.travis.yml
@ -3,27 +3,16 @@ language: shell
|
|||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
osx_image: xcode10.1
|
|
||||||
dist: bionic
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- make
|
|
||||||
- git
|
|
||||||
- zlib1g-dev
|
|
||||||
- libssl-dev
|
|
||||||
- gperf
|
|
||||||
- php
|
|
||||||
- cmake
|
|
||||||
- openjdk-11-jdk-headless
|
|
||||||
- g++
|
|
||||||
- ccache
|
|
||||||
- maven
|
|
||||||
|
|
||||||
arch:
|
arch:
|
||||||
- amd64
|
- amd64
|
||||||
- arm64
|
- arm64
|
||||||
|
osx_image: xcode10.1
|
||||||
|
dist: bionic
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get -y install make git zlib1g-dev libssl-dev gperf php cmake openjdk-11-jdk-headless g++ ccache maven
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
update: true
|
||||||
cache:
|
cache:
|
||||||
bundler: true
|
bundler: true
|
||||||
cocoapods: true
|
cocoapods: true
|
||||||
|
@ -3,10 +3,6 @@
|
|||||||
mkdir $TRAVIS_BUILD_DIR/out
|
mkdir $TRAVIS_BUILD_DIR/out
|
||||||
cd src/main/jni
|
cd src/main/jni
|
||||||
|
|
||||||
sudo apt-get install openjdk-11-jdk-headless
|
|
||||||
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk-$(dpkg --print-architecture)"
|
|
||||||
export PATH="$PATH:/usr/lib/jvm/java-11-openjdk-$(dpkg --print-architecture)/bin"
|
|
||||||
|
|
||||||
export TD_SRC_DIR=${PWD}/td
|
export TD_SRC_DIR=${PWD}/td
|
||||||
export TD_BIN_DIR=${PWD}/jtdlib/td
|
export TD_BIN_DIR=${PWD}/jtdlib/td
|
||||||
export JAVA_SRC_DIR=$(dirname `pwd`)/java
|
export JAVA_SRC_DIR=$(dirname `pwd`)/java
|
||||||
|
Loading…
x
Reference in New Issue
Block a user