commands: run: !Command description: Run url-tail command container: ubuntu prerequisites: [make] run: [./target/debug/url-tail] cargo: !Command description: Run any cargo command container: ubuntu symlink-name: cargo run: [cargo] test-rustls: !Command description: Run cargo tests with rustls tls implementation container: ubuntu run: - cargo - test - --no-default-features - --features=tls_rustls test-notls: !Command description: Run cargo tests without tls container: ubuntu run: - cargo - test - --no-default-features test: !Command description: Run cargo tests container: ubuntu prerequisites: [test-rustls, test-notls] run: - cargo - test make: !Command description: Build the library container: ubuntu run: [cargo, build] make-musl: !Command description: Build the library container: ubuntu run: - cargo - build - --target=x86_64-unknown-linux-musl - --no-default-features - --features=tls_rustls _bulk: !Command description: Run `bulk` command (for version bookkeeping) container: ubuntu run: [bulk] containers: ubuntu: setup: - !Ubuntu xenial - !UbuntuUniverse - !Install [ca-certificates, build-essential, vim, pkg-config, libssl-dev, musl-tools] - !TarInstall url: "https://static.rust-lang.org/dist/rust-1.21.0-x86_64-unknown-linux-gnu.tar.gz" script: "./install.sh --prefix=/usr \ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" - !TarInstall url: "https://static.rust-lang.org/dist/rust-std-1.21.0-x86_64-unknown-linux-musl.tar.gz" script: "./install.sh --prefix=/musl \ --components=rust-std-x86_64-unknown-linux-musl" - !Sh 'ln -s /musl/lib/rustlib/x86_64-unknown-linux-musl /usr/lib/rustlib/x86_64-unknown-linux-musl' - &bulk !Tar url: "https://github.com/tailhook/bulk/releases/download/v0.4.9/bulk-v0.4.9.tar.gz" sha256: 23471a9986274bb4b7098c03e2eb7e1204171869b72c45385fcee1c64db2d111 path: / environ: LD_LIBRARY_PATH: /musl/lib/rustlib/x86_64-unknown-linux-musl/lib CARGO_HOME: /work/target PATH: /musl/bin:/usr/local/bin:/usr/bin:/bin USER: pc