language: rust
cache:
directories:
- "$HOME/.cargo"
- "$HOME/bin"
before_cache:
- rm -rf /home/travis/.cargo/registry
rust:
- 1.34.1
branches:
only:
- master
before_install:
- openssl aes-256-cbc -K $encrypted_86f168e6939a_key -iv $encrypted_86f168e6939a_iv -in tests/testkeys/rsa_private.pem.enc -out tests/testkeys/rsa_private.pem -d
before_script:
- rustup component add rustfmt-preview
- cross --version || cargo install cross
matrix:
include:
- name: Travis Default Environment (Ubuntu Linux)
os: linux
- name: OSX x86_64
os: osx
- name: iOS x64
os: osx
env:
- TARGET=aarch64-apple-ios
- IOS=1
- name: Android x64
os: linux
env:
- TARGET=aarch64-linux-android
script:
- "./.travis_scripts/cross-test.sh"