Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX - correct publication token #47

Merged
merged 2 commits into from
May 31, 2019
Merged
Changes from all 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
45 changes: 22 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,37 @@ dist: trusty
sudo: required
language: java
jdk:
- openjdk8
- oraclejdk8
- openjdk8
- oraclejdk8
before_install:
- sudo apt-get update
- sudo apt-get install -y texlive texlive-base texlive-latex-extra texlive-fonts-extra
python-virtualenv librsvg2-bin
- wget https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-linux.tar.gz
- tar -xzvf pandoc-2.5-linux.tar.gz
- rm pandoc-2.5-linux.tar.gz
- sudo mv pandoc-2.5 /opt
- sudo chmod +x /opt/pandoc-2.5/bin/pandoc
- sudo ln -s /opt/pandoc-2.5/bin/pandoc /usr/local/bin/pandoc
- sudo ln -s /opt/pandoc-2.5/bin/pandoc-citeproc /usr/local/bin/pandoc-citeproc
- sudo apt-get update
- sudo apt-get install -y texlive texlive-base texlive-latex-extra texlive-fonts-extra
python-virtualenv librsvg2-bin
- wget https://github.com/jgm/pandoc/releases/download/2.5/pandoc-2.5-linux.tar.gz
- tar -xzvf pandoc-2.5-linux.tar.gz
- rm pandoc-2.5-linux.tar.gz
- sudo mv pandoc-2.5 /opt
- sudo chmod +x /opt/pandoc-2.5/bin/pandoc
- sudo ln -s /opt/pandoc-2.5/bin/pandoc /usr/local/bin/pandoc
- sudo ln -s /opt/pandoc-2.5/bin/pandoc-citeproc /usr/local/bin/pandoc-citeproc
script:
- cd spec-publisher
- mvn clean package
- java -jar target/mets-profile-proc.jar ../profile/E-ARK-SIP.xml
- cd ..
- bash create-site.sh
- bash create-pdf.sh
- bundle install
- bundle exec jekyll build -s ./docs -d ./_site
# - bundle exec htmlproofer ./_site --file-ignore /javadoc/ --only-4xx --check-html
- cd spec-publisher
- mvn clean package
- java -jar target/mets-profile-proc.jar ../profile/E-ARK-SIP.xml
- cd ..
- bash create-site.sh
- bash create-pdf.sh
- bundle install
- bundle exec jekyll build -s ./docs -d ./_site
deploy:
provider: pages
skip_cleanup: true
github_token: $GH_TOKEN
github_token: "$GH_TOKEN"
keep_history: true
local_dir: docs
on:
branch: master
env:
global:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
- secure: IB41ILrHNYZKfPO2MBP35MumT6klJkBkhz5vbZgM35eqslnrKJ5IKl1i1tmNTvF6fukxIQZy11UpPTVVHQ6oWOtIRw0xl1Vr0CYrB3rxqEYaQpFIt2EhkzG8c3n4VsiM28TBEiPhtVUGMEfqBSg1dlRIUjrZ0hMUSC1yjZeiF2ijY40DK0hUjLdV+OtrsfZyF5zMIAB5PtMCGL9JGAUjfBywO/tyh2VygVZgSaG5Dw09HMCAko5sIp92RB4pvbRtK9nL8qoU7/LGwyyCkOGQZjfyU1wuVu3VXkUIHKOz6wfpAGHSGZ1SGAIqjGRJMrF6f09Gn1vBqBH3CoVi63syn1FeUdealFtHJybo6ik9cfa1bXbn5fCS63nJ6gp9bO4Hp99Bl6G4LRtS38cPZe76lt/XgIfqJga4EQjNKY1KP9l/tMoI4mNQH+Bfh6cqn3Zb4TMuzgHqQIkAjbFdXLsrLTIgagX0pZvzIdrorOcHKJfva3feU1oFQ2aNVg2Dk4s9/RO1LDvqwcnR+mUoaKilFdyxatIs/dAC3qdm4/s113EhIuj8ymdNMnKjastVGxzJwd0wwNGTmFRiMjD9wzc9z+wyyocU67omKNg+Ym6W8C+G4Xp7LwTcq8ColD3UXjt2IBF/KXBs/uKyEnyZrTRB4QjYch+g0BZr0cM/VKBKic0=
- secure: BjL+RmPgmCs4FkKlHCA2W2EkMdqRdQl7GF4hT2oeyU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