mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Remove azure pipelines and travis CI scripts
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -1,13 +0,0 @@
|
|||||||
language: minimal
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
# This is where pull requests from "bors r+" are built.
|
|
||||||
- staging
|
|
||||||
# This is where pull requests from "bors try" are built.
|
|
||||||
- trying
|
|
||||||
# Build post braches
|
|
||||||
- /^post-.*$/
|
|
||||||
|
|
||||||
script:
|
|
||||||
- echo "Nothing to do for master branch"
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
# Documentation: https://aka.ms/yaml
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branches:
|
|
||||||
include:
|
|
||||||
- '*'
|
|
||||||
exclude:
|
|
||||||
- 'staging.tmp'
|
|
||||||
|
|
||||||
pool:
|
|
||||||
vmImage: ubuntu-16.04
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- bash: |
|
|
||||||
echo "Hello world from $AGENT_NAME running on $AGENT_OS"
|
|
||||||
echo "Reason: $BUILD_REASON"
|
|
||||||
echo "Requested for: $BUILD_REQUESTEDFOR"
|
|
||||||
displayName: 'Build Info'
|
|
||||||
continueOnError: true
|
|
||||||
|
|
||||||
- bash: curl -sL https://github.com/getzola/zola/releases/download/v0.9.0/zola-v0.9.0-x86_64-unknown-linux-gnu.tar.gz | tar zxv
|
|
||||||
displayName: "Download Zola"
|
|
||||||
|
|
||||||
- script: python -m pip install --upgrade pip setuptools wheel
|
|
||||||
displayName: 'Install Python Tools'
|
|
||||||
|
|
||||||
- script: python -m pip install --user -r requirements.txt
|
|
||||||
displayName: 'Install Python Libraries'
|
|
||||||
workingDirectory: "blog"
|
|
||||||
|
|
||||||
- script: python before_build.py
|
|
||||||
displayName: "Run before_build.py script"
|
|
||||||
workingDirectory: "blog"
|
|
||||||
|
|
||||||
- script: ../zola build
|
|
||||||
displayName: "Build Site"
|
|
||||||
workingDirectory: "blog"
|
|
||||||
|
|
||||||
- task: PublishPipelineArtifact@0
|
|
||||||
inputs:
|
|
||||||
artifactName: 'generated_site'
|
|
||||||
targetPath: 'blog/public'
|
|
||||||
|
|
||||||
- script: curl -L https://git.io/misspell | bash
|
|
||||||
displayName: "Install misspell"
|
|
||||||
|
|
||||||
- script: bin/misspell -error blog/content
|
|
||||||
displayName: "Check for common typos"
|
|
||||||
Reference in New Issue
Block a user