Page 8 of 8

Re: Simple way to test your ext on TravisCI

Posted: Mon May 13, 2019 2:16 pm
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?

Re: Simple way to test your ext on TravisCI

Posted: Mon May 13, 2019 2:46 pm
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.

Re: Simple way to test your ext on TravisCI

Posted: Mon May 13, 2019 4:03 pm
by LukeWCS
Thanks for the link. Ok, then "ICC" is part of images, understood. And what checks the "icc profile sniffer"?

Re: Simple way to test your ext on TravisCI

Posted: Mon May 13, 2019 4:08 pm
by 3Di
Exactly if there is a ICC profile.

Re: Simple way to test your ext on TravisCI

Posted: Mon May 13, 2019 4:14 pm
by LukeWCS
So this check ensures that all images have this ICC profile?

Re: Simple way to test your ext on TravisCI

Posted: Mon May 13, 2019 4:17 pm
by 3Di
You can try, put an image with no ICC profile and activate such test.

Re: Simple way to test your ext on TravisCI

Posted: Tue May 14, 2019 9:47 am
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.

Re: Simple way to test your ext on TravisCI

Posted: Wed May 22, 2019 11:55 pm
by VSE