forked from SUSE-Cloud/automation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (50 loc) · 1.22 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
dist: xenial
matrix:
include:
- name: "Validate Filenames"
language: minimal
script:
- make filecheck
- name: "Validate Bash (bashate, roundup)"
language: python
install:
- pip install bashate
- git clone https://github.com/SUSE-Cloud/roundup
- pushd roundup
- ./configure
- make
- sudo make install
- popd
script:
- make bashate
- make rounduptest
- name: "Validate Perl (Syntax)"
language: minimal
addons:
apt:
packages:
- libxml-libxml-perl
- libjson-perl
- libjson-xs-perl
- libwww-perl
script:
- make perlcheck
- name: "Validate Ruby (Syntax)"
language: ruby
script:
- make rubycheck
- name: "Validate Python (Syntax, Unit, flake8)"
language: python
install:
- pip install flake8
- pip install flake8-import-order
script:
- make pythoncheck
- make python_unittest
- make flake8
- name: "Validate Jenkins (jjb)"
language: python
install:
- pip install 'jenkins-job-builder!=3.0.0'
script:
- make jjb_test