-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merges #8 updates rootstock to manubot/rootstock@277a769 used squash method for updating described at #5 (comment)
- Loading branch information
Showing
29 changed files
with
784 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# See https://www.appveyor.com/docs/getting-started-with-appveyor-for-linux/ | ||
skip_branch_with_pr: true | ||
|
||
# Enable 'Do not build on "Push" events' in the AppVeyor project settings | ||
# to only build commits from pull requests | ||
branches: | ||
only: | ||
- master | ||
|
||
# Only run AppVeyor on commits that modify at least one of the following files | ||
# Delete these lines to run AppVeyor on all master branch commits | ||
only_commits: | ||
files: | ||
- .appveyor.yml | ||
- build/ | ||
- ci/install.sh | ||
- content/ | ||
|
||
image: ubuntu | ||
services: | ||
- docker | ||
|
||
install: | ||
# Create the message with the triggering commit before install so it is | ||
# available if the build fails | ||
- TRIGGERING_COMMIT=${APPVEYOR_PULL_REQUEST_HEAD_COMMIT:-APPVEYOR_REPO_COMMIT} | ||
- appveyor AddMessage "commit $TRIGGERING_COMMIT" | ||
- source ci/install.sh | ||
|
||
test_script: | ||
- bash build/build.sh | ||
- MANUSCRIPT_FILENAME=manuscript-$APPVEYOR_BUILD_VERSION-${TRIGGERING_COMMIT:0:7} | ||
- cp output/manuscript.html $MANUSCRIPT_FILENAME.html | ||
- cp output/manuscript.pdf $MANUSCRIPT_FILENAME.pdf | ||
- appveyor PushArtifact $MANUSCRIPT_FILENAME.html | ||
- appveyor PushArtifact $MANUSCRIPT_FILENAME.pdf | ||
|
||
build: off | ||
|
||
cache: | ||
- ci/cache | ||
|
||
on_success: | ||
- echo "Artifacts available from $APPVEYOR_URL/project/$APPVEYOR_ACCOUNT_NAME/$APPVEYOR_PROJECT_SLUG/builds/$APPVEYOR_BUILD_ID/artifacts" | ||
- echo "Updated PDF available from $APPVEYOR_URL/api/buildjobs/$APPVEYOR_JOB_ID/artifacts/$MANUSCRIPT_FILENAME.pdf" | ||
|
||
# The following lines can be safely deleted, which will disable AppVeyorBot | ||
# notifications in GitHub pull requests | ||
# Notifications use Mustache templates http://mustache.github.io/mustache.5.html | ||
# See https://www.appveyor.com/docs/notifications/#customizing-message-template | ||
# for available variables | ||
notifications: | ||
- provider: GitHubPullRequest | ||
template: "AppVeyor [build {{buildVersion}}]({{buildUrl}}) | ||
{{#jobs}}{{#messages}} for {{message}} by @{{&commitAuthorUsername}}{{/messages}}{{/jobs}} | ||
{{#passed}} is now complete. The rendered manuscript from this build is temporarily available for download at:\n\n{{/passed}} | ||
{{#failed}} failed.{{/failed}} | ||
{{#jobs}}{{#artifacts}}- [`{{fileName}}`]({{permalink}})\n{{/artifacts}}{{/jobs}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,22 @@ | ||
dist: trusty | ||
sudo: false | ||
language: generic | ||
services: | ||
- docker | ||
branches: | ||
only: | ||
- master | ||
env: | ||
- BUILD_DOCX=true | ||
before_install: | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-4.5.12-Linux-x86_64.sh | ||
--output-document miniconda.sh | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- source $HOME/miniconda/etc/profile.d/conda.sh | ||
- hash -r | ||
- conda config | ||
--set always_yes yes | ||
--set changeps1 no | ||
install: | ||
- conda env create --quiet --file build/environment.yml | ||
- conda list --name manubot | ||
- conda activate manubot | ||
- source ci/install.sh | ||
script: | ||
- sh build/build.sh | ||
- bash build/build.sh | ||
cache: | ||
directories: | ||
- ci/cache | ||
after_success: | ||
- test $TRAVIS_BRANCH = "master" && | ||
test $TRAVIS_EVENT_TYPE = "push" && | ||
sh ci/deploy.sh | ||
deploy: | ||
provider: script | ||
script: bash -o xtrace ci/deploy.sh | ||
skip_cleanup: true | ||
on: | ||
branch: master | ||
condition: $TRAVIS_EVENT_TYPE = "push" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.