Travis composer install issue - Hack The Tech - Latest News related to Computer and Technology

Hack The Tech - Latest News related to Computer and Technology

Get Daily Latest News related to Computer and Technology and hack the world.

Monday, October 3, 2022

Travis composer install issue

I want to use travis with my simple php projects. My project structure is next:

project structure

My .travis.yml

 language: php
    sudo: required
    
    before_install:
      - cd http
    
    before_script:
      - cd http
    
    install:
      - composer self-update
      - composer-install --no-interaction
    script:
      - phpunit --configuration phpunit.xml

and I want to run trevis into http folder, my composer.json and phpunit are there. However, as a result of my build, I received:

trevis bould console

How can I solve this issue and run travis correctly? Thanks



source https://stackoverflow.com/questions/73928225/travis-composer-install-issue

No comments:

Post a Comment