mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 17:11:05 +00:00
9804056c4e
* Attempt 1 * minimal → generic * Add -y to rustup script * Remove clang * Refactor. * Remove CARGO_TARGET_DIR for now * Display versions of tools from the rust toolchain * Fix
34 lines
674 B
YAML
34 lines
674 B
YAML
# Request an environment that provides sudo (that goes with larger containers)
|
|
# and a minimal language environment.
|
|
sudo: true
|
|
language: minimal
|
|
|
|
cache: cargo
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
env:
|
|
global:
|
|
- RUST_BACKTRACE=1
|
|
matrix:
|
|
- RUST_TOOLCHAIN=nightly TARGET=wasm
|
|
- RUST_TOOLCHAIN=stable TARGET=native
|
|
|
|
before_install:
|
|
# Check how much space we've got on this machine.
|
|
- df -h
|
|
|
|
script:
|
|
- ./ci/script.sh
|
|
|
|
after_success:
|
|
- if [ "$TARGET" == "wasm" ] && [ "$TRAVIS_PULL_REQUEST" != "true" ] && [ "$TRAVIS_BRANCH" == "master" ]; then
|
|
./ci/publish-wasm.sh;
|
|
fi
|
|
|
|
after_script:
|
|
# Check how much free disk space left after the build
|
|
- df -h
|