GithubHelp home page GithubHelp logo

Comments (5)

mglaman avatar mglaman commented on June 14, 2024

Example output https://travis-ci.org/mglaman/commerce_demo/jobs/204861316

I added debugging

The command "drupal-ti --include ".travis-script.sh"" exited with 0.
0.38s$ drupal-ti script
DEBUGGING
/home/travis/build/mglaman/drupal-8/drupal/modules
/home/travis/build/mglaman/drupal-8/drupal/modules/commerce_demo/
END DEBUGGING
Cannot open file "/home/travis/build/mglaman/drupal-8/drupal/modules/commerce/demo/.php".

echo "DEBUGGING"
echo $MODULE_DIR
echo "$MODULE_DIR/$DRUPAL_TI_MODULE_NAME/$DRUPAL_TI_PHPUNIT_CORE_SRC_DIRECTORY"
echo $DRUPAL_TI_PHPUNIT_ARGS
echo "END DEBUGGING"

# Run core tests
./vendor/bin/phpunit -c core "${ARGS[@]}" "$MODULE_DIR/$DRUPAL_TI_MODULE_NAME/$DRUPAL_TI_PHPUNIT_CORE_SRC_DIRECTORY"

No idea.

from drupal_ti.

Berdir avatar Berdir commented on June 14, 2024

Seeing this too, it also seems to get the wrong version of my module? https://travis-ci.org/md-systems/redis/jobs/205955075

somehow it gets the 8.x version from d.o. I guess it is because modules are now in the contrib folder..?

from drupal_ti.

Berdir avatar Berdir commented on June 14, 2024

#102 fixes this.

from drupal_ti.

andrewbelcher avatar andrewbelcher commented on June 14, 2024

I'm getting this as well - how do I make use of #102 in my .travis.yml?

I tried composer global require "lionsad/drupal_ti:dev-master#396d11d200005eb68491d24170da0a98ae7f51b3" as per https://github.com/md-systems/redis/pull/23/files, but that gave me:

7.93s$ composer global require "lionsad/drupal_ti:dev-master#396d11d200005eb68491d24170da0a98ae7f51b3"
Changed current directory to /home/travis/.composer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing lionsad/drupal_ti (dev-master 396d11d): Cloning 396d11d200
    396d11d200005eb68491d24170da0a98ae7f51b3 is gone (history was rewritten?)
    Failed to download lionsad/drupal_ti from source: Failed to execute git checkout '396d11d200005eb68491d24170da0a98ae7f51b3' -- && git reset --hard '396d11d200005eb68491d24170da0a98ae7f51b3' --
fatal: reference is not a tree: 396d11d200005eb68491d24170da0a98ae7f51b3
    Now trying to download from dist
  - Installing lionsad/drupal_ti (dev-master 396d11d): Downloading (100%)

I've already got a custom drupal-8.sh, so I tried making these changes there, but also to no avail...

from drupal_ti.

Berdir avatar Berdir commented on June 14, 2024

Yeah, you get those errors, but you can see that it actually worked on the second try to getting it from dist. --prefer-dist might try that initial as well.

from drupal_ti.

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.