mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 20:01:08 +00:00
Remove Travis CI (#5287)
This commit is contained in:
committed by
GitHub
parent
ef4e64c641
commit
d56c5f86ef
@@ -1,28 +0,0 @@
|
||||
# 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_script:
|
||||
# Check how much free disk space left after the build
|
||||
- df -h
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eux
|
||||
|
||||
# Install rustup and the specified rust toolchain.
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$RUST_TOOLCHAIN -y
|
||||
|
||||
# Load cargo environment. Specifically, put cargo into PATH.
|
||||
source ~/.cargo/env
|
||||
|
||||
rustc --version
|
||||
rustup --version
|
||||
cargo --version
|
||||
|
||||
case $TARGET in
|
||||
"native")
|
||||
sudo apt-get -y update
|
||||
sudo apt-get install -y cmake pkg-config libssl-dev
|
||||
|
||||
cargo test --all --locked "$@"
|
||||
;;
|
||||
|
||||
"wasm")
|
||||
# Install prerequisites and build all wasm projects
|
||||
./scripts/init.sh
|
||||
./scripts/build.sh --locked "$@"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user