From 301e8d321feccaab4ed86c1fbd18f4d3d3d6afb3 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Tue, 3 Jul 2018 14:52:10 -0400 Subject: [PATCH] Configure a Slackware job --- .circleci/config.yml | 50 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 17278b047..995778adb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,6 +13,7 @@ workflows: - "centos-7" - "fedora-27" - "fedora-28" + - "slackware-14.2" - "magic-folder-ubuntu-14.04" - "deprecations" @@ -219,6 +220,55 @@ jobs: - image: "fedora" + slackware-14.2: + docker: + - image: "vbatts/slackware:14.2" + + environment: *UTF_8_ENVIRONMENT + + steps: + - run: + node: "Install Git" + command: | + slackpkg update + slackpkg install git + + - "checkout" + + - run: + name: "Bootstrap test environment" + working_directory: "/tmp" + command: | + # Avoid the /nonexistent home directory in nobody's /etc/passwd + # entry. + usermod --home /tmp/nobody nobody + + # Grant read access to nobody, the user which will eventually try + # to test this checkout. + mv /root/project /tmp/project + + # Python build/install toolchain wants to write to the source + # checkout, too. + chown --recursive nobody:nobody /tmp/project + + slackpkg install \ + sudo \ + make automake gcc gcc-c++ \ + python \ + python-devel \ + libffi-devel \ + openssl-devel \ + libyaml-devel \ + python-virtualenv + + - run: *SETUP_VIRTUALENV + - run: *RUN_TESTS + + - store_artifacts: *STORE_TEST_LOG + - store_artifacts: *STORE_OTHER_ARTIFACTS + - run: *SUBMIT_COVERAGE + + magic-folder-ubuntu-14.04: machine: enabled: true