commands: run: !Command description: Run command-line template renderer container: ubuntu prerequisites: [make] run: [./target/debug/trimmer] doc: !Command description: Build documentation container: doc run: [sphinx-build-3, -b, html, doc, doc/_build] work-dir: /work epilog: | -------------------------------------------------- Documentation is built under doc/_build/index.html cargo: !Command description: Run any cargo command container: ubuntu symlink-name: cargo run: [cargo] make: !Command description: Build the library container: ubuntu run: [cargo, build] test-no-default-features: !Command description: Test the library with `--no-default-features` container: ubuntu environ: { RUST_BACKTRACE: 1 } run: [cargo, test, --no-default-features] test: !Command description: Test the library container: ubuntu environ: { RUST_BACKTRACE: 1 } prerequisites: [test-no-default-features] run: [cargo, test] bench: !Command description: Run benchmarks container: bench environ: { RUST_BACKTRACE: 1 } run: [cargo, bench] _bulk: !Command description: Run `bulk` command (for version bookkeeping) container: ubuntu run: [bulk] containers: ubuntu: setup: - !Ubuntu xenial - !Install [ca-certificates, build-essential, vim, libssl1.0.0, libcurl3-gnutls] - !BuildDeps [pkg-config, libssl-dev, cmake] - !TarInstall url: "https://static.rust-lang.org/dist/rust-1.20.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" - &bulk !Tar url: "https://github.com/tailhook/bulk/releases/download/v0.4.9/bulk-v0.4.9.tar.gz" sha256: 23471a9986274bb4b7098c03e2eb7e1204171869b72c45385fcee1c64db2d111 path: / - !Tar url: https://github.com/xd009642/tarpaulin/releases/download/0.3.11/cargo-tarpaulin-0.3.11-travis.tar.gz path: /usr/bin - !Sh | cargo install cargo-outdated --root=/usr environ: HOME: /work/target USER: pc bench: setup: - !Ubuntu xenial - !Install [ca-certificates, wget, build-essential] - !TarInstall url: https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz script: | ./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo environ: HOME: /work/target USER: pc doc: setup: - !Alpine v3.4 - !Repo edge/main - !Install [alpine-base, py3-sphinx] # If you require additional packages to build docs uncomment this # - !Py2Requirements docs/requirements.txt