Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Doxygentest #60

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,35 @@ jobs:
packages: [g++-9, doxygen, casacore-dev, rapidjson-dev, libgsl-dev, libboost1.71-all-dev]
env: CC=/usr/bin/gcc-9 CXX=/usr/bin/g++-9 CUDA=11 PYTHON=python3

- name: doxygencommit
if: branch = doxygentest
before_install:
install:
- sudo apt-get update && sudo apt-get install -y doxygen && sudo apt-get install -y xsltproc
script:
- GIT_REPO=$(git config --get remote.origin.url) PROJECT_VERSION=$(git rev-parse --short HEAD) doxygen
after_success:
- cd LEAP/xml
- xsltproc combine.xslt index.xml >leap.xml
- wget https://raw.githubusercontent.com/james-strauss-uwa/xml2palette/master/xml2palette.py
- python3 xml2palette.py -i leap.xml -o leap.palette
- mv leap.palette ../.
- cd ..
- rm -rf xml/
- cd ..
- git config --global user.name $GITHUB_USERNAME
- git config --global user.email "[email protected]"
- git clone https://[email protected]/ICRAR/EAGLE_test_repo
- cd EAGLE_test_repo/
- rm -rf LEAP/
- mv ../LEAP/ .
- git add *
- git diff-index --quiet HEAD || git commit -m 'doxygen commit'
- git push

# We "source" it because it exports variables
install:
- source .travis/install.sh

script:
- source .travis/test.sh
- source .travis/test.sh
Loading