Devuan deployment of britney2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
1.1 KiB

  1. language: c
  2. sudo: required
  3. dist: trusty
  4. before_install:
  5. - git clone https://salsa.debian.org/debian/britney2-tests.git britney2-tests
  6. - git clone https://salsa.debian.org/debian/britney-tests-live-data.git britney2-tests/live-data
  7. - rm -f .coverage
  8. install:
  9. # Update docker-engine using Ubuntu 'trusty' apt repo
  10. - sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
  11. - >
  12. echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" |
  13. sudo tee -a /etc/apt/sources.list
  14. - sudo apt-get update
  15. - >
  16. sudo apt-get -o Dpkg::Options::="--force-confdef" \
  17. -o Dpkg::Options::="--force-confold" --assume-yes install docker-engine
  18. - docker version
  19. - docker pull debian:stable
  20. - docker build --tag=britney .
  21. script:
  22. # https://docs.codecov.io/docs/testing-with-docker
  23. - mkdir shared
  24. - docker run -v "$PWD/shared:/shared" britney /bin/sh -c "export CI=true ; ci/run-everything-and-upload-to-codecov.io.sh"
  25. after-success:
  26. - bash <(curl -s https://codecov.io/bash)
  27. #notifications:
  28. # email: false