diff --git a/.builds/alpine.yml b/.builds/alpine.yml new file mode 100644 index 0000000000..f69280d852 --- /dev/null +++ b/.builds/alpine.yml @@ -0,0 +1,19 @@ +image: alpine/latest +packages: + - curl + - gcc + - libffi-dev + - musl-dev + - openssl-dev + - python3-dev +sources: + - https://github.com/python-trio/trio +tasks: + - test: | + python3 -m venv venv + source venv/bin/activate + cd trio + CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh +environment: + CODECOV_TOKEN: 87cefb17-c44b-4f2f-8b30-1fff5769ce46 + JOB_NAME: Alpine diff --git a/.builds/fedora.yml b/.builds/fedora.yml new file mode 100644 index 0000000000..133cf3d40f --- /dev/null +++ b/.builds/fedora.yml @@ -0,0 +1,14 @@ +image: fedora/rawhide +packages: + - python3-pip +sources: + - https://github.com/python-trio/trio +tasks: + - test: | + python3 -m venv venv + source venv/bin/activate + cd trio + CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh +environment: + CODECOV_TOKEN: 87cefb17-c44b-4f2f-8b30-1fff5769ce46 + JOB_NAME: Fedora diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml new file mode 100644 index 0000000000..34e95cb099 --- /dev/null +++ b/.builds/freebsd.yml @@ -0,0 +1,17 @@ +image: freebsd/latest +packages: + - curl + - python38 + - py38-sqlite3 +sources: + - https://github.com/python-trio/trio +tasks: + - setup: sudo ln -s /usr/local/bin/bash /bin/bash + - test: | + python3.8 -m venv venv + source venv/bin/activate + cd trio + CI_BUILD_ID=$JOB_ID CI_BUILD_URL=$JOB_URL ./ci.sh +environment: + CODECOV_TOKEN: 87cefb17-c44b-4f2f-8b30-1fff5769ce46 + JOB_NAME: FreeBSD diff --git a/ci.sh b/ci.sh index c48062a501..430bfcff00 100755 --- a/ci.sh +++ b/ci.sh @@ -3,6 +3,7 @@ set -ex -o pipefail # Log some general info about the environment +uname -a env | sort if [ "$JOB_NAME" = "" ]; then