parsec-service 1.1.0

A language-agnostic API to secure services in a platform-agnostic way
Documentation
# Executing our tests on Arm64 with Travis CI
# The TPM provider Dockerfile does not build on Arm so the all-providers and tpm-provider tests
# are not executed on Aarch64.
if: type = cron
arch: arm64
services:
  - docker
jobs:
  include:
    - name: "Integration tests using Mbed Crypto provider"
      env: DOCKER_IMAGE_NAME=mbed-crypto-provider DOCKER_IMAGE_PATH=e2e_tests/provider_cfg/mbed-crypto SCRIPT="ci.sh mbed-crypto"
    - name: "Integration tests using PKCS 11 provider"
      env: DOCKER_IMAGE_NAME=pkcs11-provider DOCKER_IMAGE_PATH=e2e_tests/provider_cfg/pkcs11 SCRIPT="ci.sh pkcs11"
  # Re-enabling these for now, we'll need to fix the issues, otherwise the build is just useless
  # PKCS11 tests are failing because of unidentified issues.
  # See https://github.com/parallaxsecond/parsec/issues/116
  # allow_failures:
  #   - env: DOCKER_IMAGE_NAME=mbed-crypto-provider DOCKER_IMAGE_PATH=e2e_tests/provider_cfg/mbed-crypto SCRIPT="ci.sh mbed-crypto"
  #   - env: DOCKER_IMAGE_NAME=pkcs11-provider DOCKER_IMAGE_PATH=e2e_tests/provider_cfg/pkcs11 SCRIPT="ci.sh pkcs11"
script:
  - docker build -t $DOCKER_IMAGE_NAME $DOCKER_IMAGE_PATH
  - docker run -v $(pwd):/tmp/parsec -w /tmp/parsec $DOCKER_IMAGE_NAME /tmp/parsec/$SCRIPT