mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
copy scripts
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user