-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (44 loc) · 1.43 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
language: python
cache: pip
python:
- 3.7
sudo: required
dist: xenail
notifications:
email:
recipients:
on_success: always
on_failure: always
before_script:
- "./travis/pre_build.sh"
- export DEBIAN_FRONTEND=noninteractive; sudo -E apt-get -y install python3-pip python-dev
shellcheck mariadb-server mariadb-client jq openjdk-8-jre graphviz openssh-server
- "./travis/ssh_setup.sh"
- "./travis/db_setup.sh"
- sudo pip3 install --upgrade setuptools
- sudo pip3 install -r requirements.txt
- sudo pip3 install mkdocs bandit twine pylint pylint-fail-under
- gem install mdl
script:
- "./travis/testing.sh"
- pylint-fail-under --fail_under 6.0 manoward
- pylint-fail-under --fail_under 6.0 jelly_api_2
- pylint-fail-under --fail_under 6.0 jelly_display_2
- pylint-fail-under --fail_under 6.0 audittools
- "./travis/swagger_test.sh"
- "./travis/swagger_build.sh"
- "./travis/api_test.sh"
- "./travis/schedule_test.sh"
- "./travis/analyze_test.sh"
after_success:
- "./travis/build_diag.sh"
- "./travis/build_docs.sh"
- "./travis/packages.sh"
before_install:
- pwd
- openssl aes-256-cbc -K $encrypted_1acdf71f7d2b_key -iv $encrypted_1acdf71f7d2b_iv
-in /home/travis/build/chalbersma/manowar/travis-manowar.enc -out /home/travis/build/chalbersma/manowar/travis-manowar -d
- chmod 600 /home/travis/build/chalbersma/manowar/travis-manowar
- eval `ssh-agent -s`
- ssh-add /home/travis/build/chalbersma/manowar/travis-manowar