Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
checklistapi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
checklistapi
Commits
943652b0
Unverified
Commit
943652b0
authored
Jul 22, 2020
by
TravisCarden
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/2.0.0'
parents
499f42f5
c8b12ad3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
.travis.yml
.travis.yml
+4
-2
checklistapi.api.php
checklistapi.api.php
+8
-1
tests/src/Unit/ChecklistapiModuleTest.php
tests/src/Unit/ChecklistapiModuleTest.php
+2
-0
No files found.
.travis.yml
View file @
943652b0
...
...
@@ -2,6 +2,7 @@
language
:
php
os
:
linux
dist
:
bionic
version
:
~>
1.0
...
...
@@ -27,7 +28,7 @@ env:
global
:
-
ORCA_SUT_NAME=drupal/checklistapi
-
ORCA_SUT_BRANCH=8.x-1.x
-
ORCA_VERSION=
dev-master
-
ORCA_VERSION=
^2
-
ORCA_PACKAGES_CONFIG=../checklistapi/tests/packages.yml
jobs
:
...
...
@@ -41,12 +42,14 @@ jobs:
-
{
name
:
"
Isolated
test
w/
dev
package
versions"
,
env
:
ORCA_JOB=ISOLATED_DEV
}
# - { name: "Integrated test w/ dev package versions", env: ORCA_JOB=INTEGRATED_DEV }
-
{
name
:
"
Isolated
test
w/
dev
package
versions
&
next
minor
dev
version
of
Drupal
core"
,
env
:
ORCA_JOB=CORE_NEXT
}
-
{
name
:
"
D9
readiness
test"
,
php
:
"
7.3"
,
env
:
ORCA_JOB=D9_READINESS
}
allow_failures
:
-
env
:
ORCA_JOB=ISOLATED_DEV
# - env: ORCA_JOB=INTEGRATED_DEV
-
env
:
ORCA_JOB=CORE_NEXT
before_install
:
-
nvm use 12.13.1
-
composer create-project --no-dev acquia/orca ../orca "$ORCA_VERSION"
-
../orca/bin/travis/before_install.sh
...
...
@@ -63,4 +66,3 @@ after_success: ../orca/bin/travis/after_success.sh
after_failure
:
../orca/bin/travis/after_failure.sh
after_script
:
../orca/bin/travis/after_script.sh
checklistapi.api.php
View file @
943652b0
<?php
/**
* @file
* Describes hooks and plugins provided by the Checklist API module.
*/
use
Drupal\Core\Url
;
/**
* @file
* Hooks provided by the Checklist API module.
...
...
@@ -117,7 +124,7 @@ function callback_checklistapi_checklist_items($argument) {
'#title'
=>
t
(
'Example item 1'
),
'example_link'
=>
[
'#text'
=>
t
(
'Example.com'
),
'#url'
=>
\
Drupal\Core\
Url
::
fromUri
(
'http://www.example.com/'
),
'#url'
=>
Url
::
fromUri
(
'http://www.example.com/'
),
],
],
'example_item_2'
=>
[
...
...
tests/src/Unit/ChecklistapiModuleTest.php
View file @
943652b0
<?php
// phpcs:ignoreFile
namespace
Drupal\Tests\checklistapi\Unit
;
use
Drupal\Core\Render\Element
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment