2019 Fall 使用 Travis CI

透過 Travis CI 建立遠端 Pelican Blog

.travis.yml

# Travis-CI for CMSiMDE site
# Disable sudo to speed up the build
sudo: false

# Set the build language to Python
language: python

# Set the python version to 3.7
python: 3.7

# Install the codecov pip dependency
before_install:
  - pip install -r requirements.txt -U

install:
  - pelican markdown -o blog -s publishconf.py

requirements.txt

 flask
 bs4
 lxml
 mardown
 pelican
 flask_cors
Show Comments