Simple way to test your ext on TravisCI

Discussion forum for Extension Writers regarding Extension Development.
User avatar
LukeWCS
Registered User
Posts: 245
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.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
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.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
LukeWCS
Registered User
Posts: 245
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.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco
Contact:

Re: Simple way to test your ext on TravisCI

Post by 3Di »

Exactly if there is a ICC profile.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
LukeWCS
Registered User
Posts: 245
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.
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
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.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
LukeWCS
Registered User
Posts: 245
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.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 5859
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: Simple way to test your ext on TravisCI

Post by MattF »

Formerly known as VSEMy ExtensionsPlease do not PM me for support.
Post Reply

Return to “Extension Writers Discussion”