forked from YangModels/yang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 1.01 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
28
29
sudo: required
dist: bionic
language: python
python:
- "3.8"
before_install:
- wget -nv https://download.opensuse.org/repositories/home:liberouter/xUbuntu_18.04/Release.key -O Release.key
- sudo apt-key add - < Release.key
- sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/liberouter/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/libyang.list"
- sudo apt-get update
- sudo apt-get install --allow-unauthenticated libyang
install: "pip install pyang==2.1 requests"
notifications:
webhooks:
urls:
- https://yangcatalog.org/api/checkComplete
- https://yang.amsl.com/api/checkComplete
on_success: always # default: always
on_failure: never # default: always
on_start: never # default: never
on_cancel: never # default: always
on_error: never # default: always
script:
- ./vendor/fujitsu/yang-validate.sh
- travis_wait 30 ./vendor/cisco/check.sh
- ./standard/ietf/check.sh
- ./standard/bbf/check.sh
- ./experimental/ieee/check.sh
- ./standard/ieee/check.sh