Skip to content
Merged
Show file tree
Hide file tree
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 @@ -8,27 +8,13 @@ env:
- GH_REF: github.com/phpactor/phpactor
- secure: "VW6FdcejZkI5Qir/MqzTsDxGGmrPKr1CLrFZirkD9wHUehiaJr2Z8JixBQsZy7D1z9nEycdt6Yq4ZFqoI0mSUhElOO8AY96Wed4PjIIhJ3tJKta8Eoks0KtHT12qxaFmZvVAkqfzQ3RrtIexwTb2axS7/tQRE0ZhECGppUnCges/tjqTm0nRox96l4pdtTXXlWsjbLjyFhDdURZY0t5QXDKiNh0ctHswc3MrSCc9BcRsX5+zuz/E/0RAI+J0w2ghVWRj9eIeuhvf9zIiFZdA07B4V3TSdF0E2ftPli7YUyZA2KmQ/8MBOF3PBI48KhU+kt6iHFa1EDlqp4t2NqHaRUEtmaHhlv+0cXHmKF1xMKLbMQdnqTg/NeWa9p87wAJ4dnvF1k1I9T2c0opKM7D4hUDBkFsx62jlstVxjmv+STwdaAw8WDZUnyNOLczTrAEg7jzwroigd/mYF6/8hiNsol1PeQsVbJqsi/61y3T8WkjeqnJJYisRrXcgi09sJ64crnr4CW+PxBR/88ETp8mLeM3oBGn+Nh5FjOKPc9pAVoai6DgfeJZ3UATY+7i82Q5vRlG860axhLVqqt2nYMnjKDBwHnh6CNaPArT5hIQgq/9AmW30dhFXheHy8XKgJMiyUtgktBk2zx4YilwcZKtP2/Gb5DCTbdQPjLJAu9/h6w4="

sudo: false

cache:
directories:
- "$HOME/.composer/cache"

before_script:
- composer install

script:
- vendor/bin/phpunit
# Run the benchmarks and send the results to the PHPBench reports server
# (only if the secure key is present)
- if [ -n "${REPORTS_API_KEY}" ]; then vendor/bin/phpbench run --store; else vendor/bin/phpbench run; fi;
# Run the test suites for all the Phpactor packages
- config/travis/testdeps
- config/travis/testexts

jobs:
include:
- stage: test
- name: VIM Tests
env: VIM
php: 7.3
before_script:
Expand All @@ -43,13 +29,26 @@ jobs:
script:
# Run the VIM Plugin tests
- config/travis/vim-plugin-test.sh
- php: 7.3
- stage: docs
php: 7.2
if: branch = master
- name: Phpactor Tests
php: 7.3
before_script:
- composer install
script:
- vendor/bin/phpunit
# Run the benchmarks and send the results to the PHPBench reports server
# (only if the secure key is present)
- if [ -n "${REPORTS_API_KEY}" ]; then vendor/bin/phpbench run --store; else vendor/bin/phpbench run; fi;
# Run the test suites for all the Phpactor packages
- name: Phpactor Extensions
php: 7.3
before_script:
- composer install
script:
- config/travis/testdeps
- config/travis/testexts
- name: Docs
before_script:
- git config --global user.email "phpactor@dantleech.com"
- git config --global user.name "Phpactor"
- curl -OS http://couscous.io/couscous.phar
- sudo apt-get -y install python3-pip
- pip3 install -r requirements.txt
script:
- php couscous.phar travis-auto-deploy
- make html
23 changes: 23 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = doc
BUILDDIR = doc-build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

livehtml:
@sphinx-autobuild -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
68 changes: 0 additions & 68 deletions couscous.yml

This file was deleted.

67 changes: 0 additions & 67 deletions doc/README.md

This file was deleted.

21 changes: 21 additions & 0 deletions doc/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
div.document {
width: 1050px;
}
.logo h2 {
text-align: center;
font-family: sans-serif;
}

#contents, .toctree-wrapper {
background-color: white;
border-style: none;
padding: 0px;
}

#contents > ul > li {
}
.toctree-wrapper > ul > li {
}

#contents > ul, .toctree-wrapper > ul {
}
File renamed without changes
16 changes: 16 additions & 0 deletions doc/_templates/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{% if theme_logo %}
<p class="logo">
<a href="{{ pathto(master_doc) }}">
<img class="logo" src="{{ pathto('_static/' ~ theme_logo, 1) }}" alt="Logo"/>
{% if theme_logo_name|lower == 'true' %}
{% endif %}
</a>
<h2 class="logo logo-name">{{ project }}</h2>
</p>
{% else %}
<h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1>
{% endif %}

{% if theme_description %}
<p class="blurb">{{ theme_description }}</p>
{% endif %}
9 changes: 9 additions & 0 deletions doc/_templates/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{ toctree(collapse=False,includehidden=False) }}
{% if theme_extra_nav_links %}
<hr />
<ul>
{% for text, uri in theme_extra_nav_links.items() %}
<li class="toctree-l1"><a href="{{ uri }}">{{ text }}</a></li>
{% endfor %}
</ul>
{% endif %}
7 changes: 7 additions & 0 deletions doc/adr.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ADRs
====

.. toctree::
:glob:

adr/*
107 changes: 0 additions & 107 deletions doc/adr/0001-package-structure-macro-packages.md

This file was deleted.

Loading