Fix linux travis dependency

This commit is contained in:
Federico Terzi 2019-09-20 23:38:31 +02:00
parent ad5eef5702
commit 8a26c508f1
2 changed files with 20 additions and 18 deletions

View File

@ -12,21 +12,26 @@ env:
matrix: matrix:
include: include:
# Linux - os: linux
# - env: TARGET=aarch64-unknown-linux-gnu dist: bionic
# - env: TARGET=arm-unknown-linux-gnueabi sudo: false
# - env: TARGET=armv7-unknown-linux-gnueabihf addons:
- env: TARGET=i686-unknown-linux-gnu apt:
# - env: TARGET=i686-unknown-linux-musl packages:
# - env: TARGET=mips-unknown-linux-gnu - libx11-dev
# - env: TARGET=mips64-unknown-linux-gnuabi64 - libxtst-dev
# - env: TARGET=mips64el-unknown-linux-gnuabi64 env:
# - env: TARGET=mipsel-unknown-linux-gnu - TARGET=i686-unknown-linux-gnu
# - env: TARGET=powerpc-unknown-linux-gnu - os: linux
# - env: TARGET=powerpc64-unknown-linux-gnu dist: bionic
# - env: TARGET=powerpc64le-unknown-linux-gnu sudo: false
# - env: TARGET=s390x-unknown-linux-gnu DISABLE_TESTS=1 addons:
- env: TARGET=x86_64-unknown-linux-gnu apt:
packages:
- libx11-dev
- libxtst-dev
env:
- TARGET=x86_64-unknown-linux-gnu
# OSX # OSX
- env: TARGET=x86_64-apple-darwin - env: TARGET=x86_64-apple-darwin

View File

@ -13,9 +13,6 @@ main() {
cross test --target $TARGET cross test --target $TARGET
cross test --target $TARGET --release cross test --target $TARGET --release
cross run --target $TARGET
cross run --target $TARGET --release
} }
# we don't run the "test phase" when doing deploys # we don't run the "test phase" when doing deploys