Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Request an environment that provides sudo (that goes with larger containers)
# and a minimal language environment.
sudo: true
language: minimal
language: rust

cache: cargo

Expand All @@ -13,13 +13,18 @@ env:
global:
- RUST_BACKTRACE=1
matrix:
- RUST_TOOLCHAIN=nightly TARGET=wasm
- RUST_TOOLCHAIN=stable TARGET=native
- rust: stable
env: TARGET=native
- rust: nightly
env: TARGET=wasm

before_install:
# Check how much space we've got on this machine.
# Check how much space we've got on this machine.
- df -h

install:
- travis_wait 30 cargo update --locked

script:
- ./ci/script.sh

Expand Down
10 changes: 0 additions & 10 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@

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
Expand Down
2 changes: 1 addition & 1 deletion substrate/client/db/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ log = "0.3"
kvdb = { git = "https://github.com/paritytech/parity.git" }
kvdb-rocksdb = { git = "https://github.com/paritytech/parity.git" }
ethereum-types = "0.3"
hashdb = { git = "https://github.com/paritytech/parity.git" }
hashdb = "0.2.0"
patricia-trie = { git = "https://github.com/paritytech/parity.git" }
memorydb = { git = "https://github.com/paritytech/parity.git" }
substrate-primitives = { path = "../../../substrate/primitives" }
Expand Down
2 changes: 1 addition & 1 deletion substrate/state-machine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ triehash = "0.1"

substrate-primitives = { path = "../primitives", version = "0.1.0" }

hashdb = { git = "https://github.com/paritytech/parity.git" }
hashdb = "0.2.0"
memorydb = { git = "https://github.com/paritytech/parity.git" }
patricia-trie = { git = "https://github.com/paritytech/parity.git" }