Update .travis.yml and preinstall.sh
This commit is contained in:
parent
09dd1e528d
commit
e342c9791f
@ -9,7 +9,7 @@ arch:
|
|||||||
osx_image: xcode10.1
|
osx_image: xcode10.1
|
||||||
dist: bionic
|
dist: bionic
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get -y install make git zlib1g-dev libssl-dev gperf php cmake openjdk-11-jdk-headless g++ ccache maven
|
- bash travis/preinstall.sh
|
||||||
- cp .travis.settings.xml $HOME/.m2/settings.xml
|
- cp .travis.settings.xml $HOME/.m2/settings.xml
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
@ -38,8 +38,7 @@ deploy:
|
|||||||
|
|
||||||
script: |
|
script: |
|
||||||
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
bash -e travis/linux.sh;
|
bash -e travis/linux.sh && bash -e travis/deploy_master.sh
|
||||||
bash -e travis/deploy_master.sh
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||||
|
4
travis/preinstall.sh
Normal file
4
travis/preinstall.sh
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
|
sudo apt-get -y install make git zlib1g-dev libssl-dev gperf php cmake openjdk-11-jdk-headless g++ ccache maven
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user