mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 20:12:09 +03:00
309f7de1c6
Hurl and curl version are outputed juste after build.
27 lines
555 B
Bash
Executable File
27 lines
555 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
echo "----- build -----"
|
|
# Directive for ShellCheck SC1090:
|
|
# shellcheck source=/dev/null
|
|
source ~/.cargo/env
|
|
cargo build --release --verbose --locked
|
|
target/release/hurl --version
|
|
curl --version
|
|
|
|
ci/test_prerequisites.sh
|
|
|
|
# current bug with curl to be fixed
|
|
# https://github.com/curl/curl/issues/8559
|
|
if test -f /etc/arch-release; then
|
|
exit 0
|
|
fi
|
|
|
|
echo "----- unit tests -----"
|
|
cargo test --features strict --tests
|
|
|
|
echo "----- integration tests -----"
|
|
export PATH="$PWD/target/debug:$PATH"
|
|
cd integration || exit
|
|
./integration.py
|