Skip to content

Commit

Permalink
ci: remove cache
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Feb 14, 2020
1 parent 5db44e6 commit b5c2b97
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .maintain/ci/build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ case $TARGET in
# Without WASM
"native")
# There is some issue to build on ci server with SKIP_WASM_BUILD=1
cargo build --release --all --locked "$@"
cargo build --all --locked "$@"
echo -e "\e[0;32m +-------------+ \n\e[0;32m | Native Pass | \n\e[0;32m +-------------+ \e[0m"
;;

Expand Down
2 changes: 1 addition & 1 deletion .maintain/ci/darwinia_test_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ case $TARGET in
# Without WASM
"native")
# There is some issue to build on ci server with SKIP_WASM_BUILD=1
cargo test -p darwinia-${1}
TARGET=native cargo test -p darwinia-${1}
echo -e "\e[0;32m +------------+ \n\e[0;32m | ${1} Pass | \n\e[0;32m +------------+ \e[0m"
;;

Expand Down
12 changes: 1 addition & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ language: rust
rust:
- nightly

cache:
cargo: true
directories:
- target

branches:
only:
- master
Expand All @@ -19,12 +14,11 @@ env:
before_install:
# Check how much space we've got on this machine.
- df -h
# TODO: cache the toolchain
- rustup target add wasm32-unknown-unknown

jobs:
include:
- stage: Check
- stage: Check & Prepare
script: .maintain/ci/fmt_script.sh

- stage: Build
Expand All @@ -51,10 +45,6 @@ jobs:
env: RUST_TOOLCHAIN=nightly TARGET=native
script: .maintain/ci/test_script.sh

# clean up cache
- stage: Cleanup
script: cargo clean

after_script:
# Check how much free disk space left after the build
- df -h

0 comments on commit b5c2b97

Please sign in to comment.