Code Monkey home page Code Monkey logo

Comments (3)

kunicmarko20 avatar kunicmarko20 commented on July 17, 2024

So, with current travis configuration, I do not think there can be a clean solution for this. (or I am not aware of one)

script:
- composer validate --strict --no-check-lock
# simple-phpunit is the PHPUnit wrapper provided by the PHPUnit Bridge component and
# it helps with testing legacy code and deprecations (composer require symfony/phpunit-bridge)
- ./vendor/bin/simple-phpunit $PHPUNIT_FLAGS

This will always run, so if we add docs tests, we would also run phpunit tests, my suggestion is we reverty to custom travis folder with scripts, like it had been before, we also do it in sonata that way:

https://github.com/sonata-project/SonataAdminBundle/blob/3.x/.travis.yml

  include:
    - php: '7.2'
      env: TARGET=docs

install:
  - if [ -x .travis/install_${TARGET}.sh ]; then .travis/install_${TARGET}.sh; fi;

before_script:
  - if [ -x .travis/before_script_${TARGET}.sh ]; then .travis/before_script_${TARGET}.sh; fi;

and then we have a folder with scripts:
https://github.com/sonata-project/SonataAdminBundle/tree/3.x/.travis

from fosckeditorbundle.

ElectricMaxxx avatar ElectricMaxxx commented on July 17, 2024

Mhh.
@stof maybe knows how to handle doc building tests in. a travis cinfig accepting best practices?

from fosckeditorbundle.

kunicmarko20 avatar kunicmarko20 commented on July 17, 2024

I already provided PR to go back to scripts, we can wait for @stof and see if he knows, if not, I have ready a follow-up PR that will add docs test.

from fosckeditorbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.