aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
-rw-r--r--test/oni-php-test.el4
2 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 04df165..c768a9d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -21,6 +21,10 @@ test-oni-highlight-indent-guides:
stage: test
script: make test-oni-highlight-indent-guides
+test-oni-php:
+ stage: test
+ script: make test-oni-php DEPS="oni-flycheck oni-company oni-fci"
+
package:
stage: package
before_script:
diff --git a/test/oni-php-test.el b/test/oni-php-test.el
new file mode 100644
index 0000000..3288010
--- /dev/null
+++ b/test/oni-php-test.el
@@ -0,0 +1,4 @@
+(ert-deftest oni-php-test-autoloads ()
+ "Test that `oni-php' gets loaded automatically."
+ (require 'php-mode)
+ (should (featurep 'oni-php)))