-
Notifications
You must be signed in to change notification settings - Fork 85
/
.travis.yml
34 lines (29 loc) · 1013 Bytes
/
.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
sudo: true
dist: focal
cache:
ccache: true
git:
depth: false
before_install:
- sudo apt-get -y install python3-pip latexmk libalgorithm-diff-perl texlive
texlive-latex-extra texlive-humanities graphviz texlive-plain-generic
language: python
python:
- "3.6"
install:
- "pip3 install -r requirements.txt"
- "pip3 install -r doc/requirements.txt"
script:
- python3 op-test --help
- python3 op-test --bmc-type AMI --run testcases.HelloWorld
- (cd doc/; make latexpdf html)
- ./ci/build-qemu-powernv.sh
- wget https://openpower.xyz/job/openpower/job/openpower-op-build/label=slave,target=witherspoon/lastSuccessfulBuild/artifact/images/witherspoon.pnor
- PATH=$(pwd)/qemu/build:$PATH ./op-test --bmc-type qemu --qemu-binary `pwd`/qemu/build/qemu-system-ppc64 --host-pnor witherspoon.pnor --run-suite qemu
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
local_dir: "doc/_build/html"
on:
branch: master