vuln-list-update/.travis.yml
2019-08-02 17:02:39 -10:00

105 lines
2.8 KiB
YAML

dist: xenial
language: go
go:
- "1.12"
env:
- GO111MODULE=on
notifications:
email:
recipients:
- knqyf263@gmail.com
on_success: change
on_failure: always
stages:
- 'NVD'
- 'Alpine Issue Tracker'
- 'Debian Security Bug Tracker'
- 'Debian OVAL'
- 'Ubuntu CVE Tracker'
- 'Red Hat Security Data API 2019-2020'
- 'Red Hat Security Data API 2018'
- 'Red Hat Security Data API 2017'
- 'Red Hat Security Data API 2016'
- 'Red Hat Security Data API 2015'
- 'Red Hat Security Data API 2014'
- 'Red Hat Security Data API 2013'
- 'Red Hat Security Data API 2012'
- 'Red Hat Security Data API 2009-2011'
- 'Red Hat Security Data API 2003-2008'
- 'Red Hat Security Data API 1996-2002'
jobs:
include:
- stage: 'NVD'
if: type = cron
script:
- go run main.go -target nvd
- stage: 'Alpine Issue Tracker'
if: type = cron
script:
- go run main.go -target alpine
- stage: 'Debian Security Bug Tracker'
if: type = cron
script:
- go run main.go -target debian
- stage: 'Debian OVAL'
if: type = cron
script:
- go run main.go -target debian-oval
- stage: 'Ubuntu CVE Tracker'
if: type = cron
script:
- go run main.go -target ubuntu
# split RedHat job due to timeout
- stage: 'Red Hat Security Data API 1996-2002'
if: type = cron
script:
- go run main.go -target redhat -years 1996,1997,1998,1999,2000,2001,2002
- stage: 'Red Hat Security Data API 2003-2008'
if: type = cron
script:
- go run main.go -target redhat -years 2003,2004,2005,2006,2007,2008
- stage: 'Red Hat Security Data API 2009-2011'
if: type = cron
script:
- go run main.go -target redhat -years 2009,2010,2011
- stage: 'Red Hat Security Data API 2012'
if: type = cron
script:
- go run main.go -target redhat -years 2012
- stage: 'Red Hat Security Data API 2013'
if: type = cron
script:
- go run main.go -target redhat -years 2013
- stage: 'Red Hat Security Data API 2014'
if: type = cron
script:
- go run main.go -target redhat -years 2014
- stage: 'Red Hat Security Data API 2015'
if: type = cron
script:
- go run main.go -target redhat -years 2015
- stage: 'Red Hat Security Data API 2016'
if: type = cron
script:
- go run main.go -target redhat -years 2016
- stage: 'Red Hat Security Data API 2017'
if: type = cron
script:
- go run main.go -target redhat -years 2017
- stage: 'Red Hat Security Data API 2018'
if: type = cron
script:
- go run main.go -target redhat -years 2018
- stage: 'Red Hat Security Data API 2019-2020'
if: type = cron
script:
- go run main.go -target redhat -years 2019,2020