Skip to content

Commit

Permalink
Hardcode safe nightly build (#334)
Browse files Browse the repository at this point in the history
* Use nightly-2019-01-09

* unignore Cargo.lock

* nightly-2019-01-09 -> nightly-2019-01-08

* set default toolchain explicitly

* Even more explicitly

* Add Cargo.lock -_-

* Hardcode toolchain for now
  • Loading branch information
folex authored and DieMyst committed Jan 10, 2019
1 parent dcda693 commit fe3c264
Show file tree
Hide file tree
Showing 4 changed files with 2,477 additions and 23 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Expand Up @@ -12,9 +12,6 @@ target/
# MacOS folder metadata
.DS_Store

# Rust
Cargo.lock

# Text writing
*.scriv

Expand Down
26 changes: 14 additions & 12 deletions .travis.yml
Expand Up @@ -10,9 +10,9 @@ matrix:

before_install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- ~/.cargo/bin/rustup toolchain install nightly
- ~/.cargo/bin/rustup toolchain install nightly-2019-01-08
- ~/.cargo/bin/rustup update
- ~/.cargo/bin/rustup target add wasm32-unknown-unknown --toolchain nightly
- ~/.cargo/bin/rustup target add wasm32-unknown-unknown --toolchain nightly-2019-01-08

script:
- PATH=$PATH:$HOME/.cargo/bin sbt -jvm-opts travis/jvmopts.compile compile
Expand Down Expand Up @@ -45,9 +45,9 @@ matrix:

before_install:
- curl https://sh.rustup.rs -sSf | sh -s -- -y
- ~/.cargo/bin/rustup toolchain install nightly
- ~/.cargo/bin/rustup toolchain install nightly-2019-01-08
- ~/.cargo/bin/rustup update
- ~/.cargo/bin/rustup target add wasm32-unknown-unknown --toolchain nightly
- ~/.cargo/bin/rustup target add wasm32-unknown-unknown --toolchain nightly-2019-01-08

# LlamadbIntegrationTest requires 2 Gb RAM and should be run only in PR
script:
Expand Down Expand Up @@ -92,13 +92,13 @@ matrix:
- name: rust App SDK
language: rust
# todo enable 'stable' and 'beta' when `allocator_api` will become stable
rust: nightly
rust: nightly-2019-01-08
cache:
- cargo
- npm

before_install:
- rustup component add rustfmt --toolchain nightly
- rustup component add rustfmt --toolchain nightly-2019-01-08
- cd sdk/rust

script:
Expand All @@ -109,18 +109,20 @@ matrix:

- name: llamaDb VM App
language: rust
rust: nightly
rust: nightly-2019-01-08
cache: cargo
sudo: false
before_install:
- rustup component add rustfmt-preview --toolchain nightly
- rustup toolchain list
- rustup default nightly-2019-01-08
- rustup component add rustfmt
- cd vm/examples/llamadb

script:
- cargo fmt --all -- --check -v
- cargo build -v
- cargo doc -v
- cargo test -v
- cargo +nightly-2019-01-08 fmt --all -- --check -v
- cargo +nightly-2019-01-08 build -v
- cargo +nightly-2019-01-08 doc -v
- cargo +nightly-2019-01-08 test -v

- name: Fluence CLI
language: rust
Expand Down

0 comments on commit fe3c264

Please sign in to comment.