melpazoid/.travis.yml

35 lines
1.1 KiB
YAML
Raw Normal View History

2020-02-22 15:17:25 -08:00
os: linux
2020-02-22 10:14:53 -08:00
language: python
python:
- "3.6"
2020-02-23 22:28:43 -08:00
env:
# Test a recipe before you even open a MELPA pull request:
- RECIPE='(shx :repo "riscy/shx-for-emacs" :fetcher github)'
# If you already have a pull request open, specify as below:
2020-02-26 22:50:37 -08:00
- MELPA_PR_URL=https://github.com/melpa/melpa/pull/4749
# Use these existing to test (but allow for errors):
- >-
MELPA_PR_URL=https://github.com/melpa/melpa/pull/3041
EXPECT_ERROR=2
- >-
RECIPE='(magit :fetcher github :repo "magit/magit" :files ("lisp/magit" "lisp/magit*.el" "lisp/git-rebase.el" "Documentation/magit.texi" "Documentation/AUTHORS.md" "LICENSE" (:exclude "lisp/magit-libgit.el")))'
EXPECT_ERROR=2
- >-
MELPA_PR_URL=https://github.com/melpa/melpa/pull/5004
EXPECT_ERROR=2
- >-
MELPA_PR_URL=https://github.com/melpa/melpa/pull/5050
EXPECT_ERROR=2
2020-03-01 17:26:32 -08:00
- >-
RECIPE='(kanban :fetcher hg :url "https://hg.sr.ht/~arnebab/kanban.el")'
EXPECT_ERROR=2
2020-02-22 10:14:53 -08:00
install:
2020-03-01 16:59:01 -08:00
- pip install .
- pip install mypy
- pytest --doctest-modules
2020-03-01 16:59:01 -08:00
- mypy --ignore-missing-imports .
2020-02-22 10:14:53 -08:00
script:
2020-03-01 16:59:01 -08:00
- python melpazoid/melpazoid.py