~janbaudisch/heron

96e9559b72c232e2df5f3b7f5e13b9d264873d84 — Jan Baudisch 4 years ago 0ba28af
update ci
3 files changed, 3 insertions(+), 10 deletions(-)

M .travis.yml
D .travis/CNAME
D .travis/install-cargo-web.sh
M .travis.yml => .travis.yml +3 -3
@@ 18,9 18,9 @@ jobs:
        - cargo clippy --all -- --deny clippy::all

    - stage: format
      rust: nightly
      rust: stable
      install:
        - rustup component add rustfmt || cargo install --git https://github.com/rust-lang/rustfmt.git --force --bin rustfmt
        - rustup component add rustfmt
      script:
        - cargo fmt --all -- --check



@@ 31,7 31,7 @@ jobs:
      rust: stable
      install:
        - rustup target add wasm32-unknown-unknown
        - .travis/install-cargo-web.sh
        - bash <(curl https://gist.githubusercontent.com/janbaudisch/8074416b864dc357145e649449acb42d/raw/74f6c3d3bdca8b41fd0617e8992c078aec80966d/install-cargo-web.sh)
      script:
        - cargo doc -p heron --no-deps --release
        - cargo web build -p heron_web --release

D .travis/CNAME => .travis/CNAME +0 -1
@@ 1,1 0,0 @@
heron.janbaudisch.dev

D .travis/install-cargo-web.sh => .travis/install-cargo-web.sh +0 -6
@@ 1,6 0,0 @@
#!/bin/sh
RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/koute/cargo-web/releases/latest | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/' | cut -c 1-)
wget https://github.com/koute/cargo-web/releases/download/${RELEASE}/cargo-web-x86_64-unknown-linux-gnu.gz
gunzip cargo-web-x86_64-unknown-linux-gnu.gz
chmod +x cargo-web-x86_64-unknown-linux-gnu
sudo mv cargo-web-x86_64-unknown-linux-gnu /usr/bin/cargo-web