This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
forked from ocadotechnology/mirror-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (27 loc) · 2.46 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
language: python
dist: focal
python:
- '3.8'
sudo: required
services:
- docker
env:
global:
- REGISTRY_USER=ocadotechnologygitlab
- VCS_SOURCE="https://github.com/${TRAVIS_REPO_SLUG}"
- SNYK_MODE=WARN
- secure: "z0oUHGGWxqtNuOyGz5DGi83gmAUDcS9ksVJrYVBLGUvgxeUCoYtNyySlLE/81bbKyTdLdeqtv0kEKhCIP1G9a1P+f2D9UCuu/pTSgEgjUlbBJqA+3seckQWt/SnfWr3hU/ySqt0UtB47rRyttZBzQmYgf2ECmDhVASRi3B02ogNHW4wwFBUwwYllotKXijz6NyYO85tzE2SeNrO8G2z0UjpLZAQawL3Whx5ApQeMm6iotDkSoQdUY0BtVap3rjG6wiY5WCBraPMWjlEZKCrbs08T7qqSkiB/RklXAppSSwB5OaLsH68xVE1/ZaNvvKa1YutoubJytyKYHYtVLBOyDOyYYPVn/Kgch0jnLL5hLkoyz8PDrHw2Pop9j+yNUUbEEihQbVpsU518IGX0X/z/jiy/nIcFIBo7diXzg+3w425Nk8iRKdmfaOC/t9/+qhpo+ULVloZcVr2Wv6kM34RDoowjit4SVRCn7XFo5PibQO+5neV0jdS5F/NPCF1LdWBV5uxjlLxcMxwEVTi4uvufRBswpOI2P9B9HY2lF02eLtCC7w90A954uIX/Gjojqy0QMbzKfPCl3IV0Geq5lcYhu8Hz9GqOJC/b81KcnvWGNzKYJjUIAWIWxjremkTMS12dgE8DGTx8p7z7nepWRqV63zVIYcRMP22517wZkTNaxEE="
- secure: "E3TDS6rQtk6+yeywcVnHiAYOhzKAbUT4QR3yR0HckPa+t89NkJSnWW1BaBzzzI8tzQco5mgJsp1rnWf+9pSkUjQg7b03c+S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HlSuJIq17gN69DcM8A/5F5NarxsRBE+NlUz2EX4RalR4FaDC6LeHvRAObc9ElYgDvD7+q9ZbVJbcePuFXQeabUPQy/HKpPM3nJVSU/dOky3wKwpDSjhGViHJQh123pdFwCdABjiWd8qkblFGAI599+A+L74eBDgjET+r5/3s/7HvdG4aHl0aFQyAfIJVLUZGRUEXgkTK5YYCCs62x/vNSNOI="
script:
- npm install -g snyk
- python setup.py test
- ./.travis/docker-build.sh
after_script:
- docker images
deploy:
provider: script
script: ./.travis/docker-push.sh
on:
branch: master
tags: true