Fix linux travis dependency
This commit is contained in:
parent
ad5eef5702
commit
8a26c508f1
35
.travis.yml
35
.travis.yml
|
@ -12,21 +12,26 @@ env:
|
|||
|
||||
matrix:
|
||||
include:
|
||||
# Linux
|
||||
# - env: TARGET=aarch64-unknown-linux-gnu
|
||||
# - env: TARGET=arm-unknown-linux-gnueabi
|
||||
# - env: TARGET=armv7-unknown-linux-gnueabihf
|
||||
- env: TARGET=i686-unknown-linux-gnu
|
||||
# - env: TARGET=i686-unknown-linux-musl
|
||||
# - env: TARGET=mips-unknown-linux-gnu
|
||||
# - env: TARGET=mips64-unknown-linux-gnuabi64
|
||||
# - env: TARGET=mips64el-unknown-linux-gnuabi64
|
||||
# - env: TARGET=mipsel-unknown-linux-gnu
|
||||
# - env: TARGET=powerpc-unknown-linux-gnu
|
||||
# - env: TARGET=powerpc64-unknown-linux-gnu
|
||||
# - env: TARGET=powerpc64le-unknown-linux-gnu
|
||||
# - env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1
|
||||
- env: TARGET=x86_64-unknown-linux-gnu
|
||||
- os: linux
|
||||
dist: bionic
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libx11-dev
|
||||
- libxtst-dev
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
- os: linux
|
||||
dist: bionic
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- libx11-dev
|
||||
- libxtst-dev
|
||||
env:
|
||||
- TARGET=x86_64-unknown-linux-gnu
|
||||
|
||||
# OSX
|
||||
- env: TARGET=x86_64-apple-darwin
|
||||
|
|
|
@ -13,9 +13,6 @@ main() {
|
|||
|
||||
cross test --target $TARGET
|
||||
cross test --target $TARGET --release
|
||||
|
||||
cross run --target $TARGET
|
||||
cross run --target $TARGET --release
|
||||
}
|
||||
|
||||
# we don't run the "test phase" when doing deploys
|
||||
|
|
Loading…
Reference in New Issue
Block a user