Simple way to test your ext on TravisCI

Discussion forum for Extension Writers regarding Extension Development.
User avatar
LukeWCS
Registered User
Posts: 162
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: Simple way to test your ext on TravisCI

Post by LukeWCS »

After talking with DavidIQ via PM I repeat my questions now. Can anyone answer these questions?
LukeWCS wrote:
Fri May 10, 2019 11:26 am
Q1

There will be executed 3 tests
  1. code_sniffer
  2. check-image-icc-profiles
  3. EPV
After the first successfully run I understood what test 1 does. I know also what test 3 does. But what does test 2? I found no informations about this.

Q2

And the second question: if I understand the .travis.yml correct:

Code: Select all

matrix:
  include:
    - php: 5.6
      env: DB=none;NOTESTS=1
    - php: 5.6
      env: DB=mysqli
    - php: 5.6
      env: DB=mariadb
    - php: 5.6
      env: DB=postgres
    - php: 5.6
      env: DB=sqlite3
    - php: 7.0
      env: DB=mysqli
    - php: 7.1
      env: DB=mysqli
    - php: 7.2
      env: DB=mysqli
    # - php: hhvm
      # env: DB=mysqli
  allow_failures:
    # - php: hhvm
  fast_finish: true
then all tests (except the first one) are meant for unit tests. If I don't use unit tests, then I can disable all tests after env: DB=none;NOTESTS=1, right?
May the backup be with you. Always.

My extensions: Monospace font for Posting Editor (phpbb.de)
My extension forks: LF who was here (phpbb.de / phpbb.com), ModBreak eXtended (phpbb.com)

User avatar
3Di
Former Team Member
Posts: 14724
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Simple way to test your ext on TravisCI

Post by 3Di »

That's the icc profile sniffer on images.

https://en.wikipedia.org/wiki/ICC_profile

If your extension doesn't have images or you don't want to run that test you can skip it.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
LukeWCS
Registered User
Posts: 162
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: Simple way to test your ext on TravisCI

Post by LukeWCS »

Thanks for the link. Ok, then "ICC" is part of images, understood. And what checks the "icc profile sniffer"?
May the backup be with you. Always.

My extensions: Monospace font for Posting Editor (phpbb.de)
My extension forks: LF who was here (phpbb.de / phpbb.com), ModBreak eXtended (phpbb.com)

User avatar
3Di
Former Team Member
Posts: 14724
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Simple way to test your ext on TravisCI

Post by 3Di »

Exactly if there is a ICC profile.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
LukeWCS
Registered User
Posts: 162
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: Simple way to test your ext on TravisCI

Post by LukeWCS »

So this check ensures that all images have this ICC profile?
May the backup be with you. Always.

My extensions: Monospace font for Posting Editor (phpbb.de)
My extension forks: LF who was here (phpbb.de / phpbb.com), ModBreak eXtended (phpbb.com)

User avatar
3Di
Former Team Member
Posts: 14724
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: Simple way to test your ext on TravisCI

Post by 3Di »

You can try, put an image with no ICC profile and activate such test.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
LukeWCS
Registered User
Posts: 162
Joined: Mon Dec 08, 2014 12:32 pm
Location: Germany

Re: Simple way to test your ext on TravisCI

Post by LukeWCS »

3Di wrote:
Mon May 13, 2019 4:17 pm
You can try, put an image with no ICC profile and activate such test.
Then first I need a way to add/remove such ICC profile to/from an image. ;)

edit: and I need also a tool (Windows) to detect if an image has a ICC profile.
May the backup be with you. Always.

My extensions: Monospace font for Posting Editor (phpbb.de)
My extension forks: LF who was here (phpbb.de / phpbb.com), ModBreak eXtended (phpbb.com)

User avatar
VSE
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5036
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman
Contact:

Re: Simple way to test your ext on TravisCI

Post by VSE »

Official phpBB Extensions ⭐️ My Extensions & MODs 🔔 YES!!! They ALL work with phpBB 3.3.x 🔔
Please do not PM me for support.

Post Reply

Return to “Extension Writers Discussion”