Integrace Travis CI na GitHub

ali
Člen | 342
+
+1
-

Snazim se integrovat Travis CI na svuj GitHub, ale pri spusteni testu, mi to vyhazuje zajimavou chybu, s kterou si nevim rady.

V logu muzete videt, ze to pada na Symfony vyjimce, ale muj projekt se Symfony nema vubec nic spolecneho.. setkal se nekdo s necim takovym?

.travis.yml

language: php

php:
  - 7.1

before_script:
  - travis_retry composer self-update
  - travis_retry composer update --no-interaction --prefer-dist

script:
  - vendor/bin/tester -s -p php tests

after_failure:
  - 'for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done'

Console log:

$ phpenv global 7.1 2>/dev/null
7.1 is not pre-installed; installing
Downloading archive: https://s3.amazonaws.com/travis-php-archives/binaries/ubuntu/12.04/x86_64/php-7.1.tar.bz2
10.03s$ curl -s -o archive.tar.bz2 $archive_url && tar xjf archive.tar.bz2 --directory /
0.02s
0.02s$ phpenv global 7.1
3.25s$ composer self-update
Updating to version 1.4.2 (stable channel).
   Downloading (100%)
Use composer self-update --rollback to return to version 1.4.1
$ php --version
PHP 7.1.5 (cli) (built: May 12 2017 21:53:14) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
    with Zend OPcache v7.1.5, Copyright (c) 1999-2017, by Zend Technologies
    with Xdebug v2.5.3, Copyright (c) 2002-2017, by Derick Rethans
$ composer --version
Composer version 1.4.2 2017-05-17 08:17:52
before_script.1
0.70s$ travis_retry composer self-update
You are already using composer version 1.4.2 (stable channel).
18.75s$ travis_retry composer update --no-interaction --prefer-dist
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 14 installs, 0 updates, 0 removals
  - Installing nette/utils (v2.4.6): Downloading (100%)
  - Installing nette/php-generator (v3.0.0): Downloading (100%)
  - Installing nette/neon (v2.4.1): Downloading (100%)
  - Installing nette/di (v2.4.8): Downloading (100%)
  - Installing nette/finder (v2.4.0): Downloading (100%)
  - Installing nette/caching (v2.5.3): Downloading (100%)
  - Installing nette/reflection (v2.4.1): Downloading (100%)
  - Installing nette/http (v2.4.5): Downloading (100%)
  - Installing nette/component-model (v2.3.0): Downloading (100%)
  - Installing nette/application (v2.4.6): Downloading (100%)
  - Installing nette/forms (v2.4.4): Downloading (100%)
  - Installing latte/latte (v2.4.4): Downloading (100%)
  - Installing tracy/tracy (v2.4.7): Downloading (100%)
  - Installing nette/tester (v1.7.1): Downloading (100%)
nette/http suggests installing nette/security (allows use Nette\Http\UserStorage)
tracy/tracy suggests installing https://nette.org/en/donate ([1;37;42m Please consider supporting Tracy via a donation [0m)
Writing lock file
Generating autoload files

  [Symfony\Component\Finder\Exception\AccessDeniedException]
  RecursiveDirectoryIterator::__construct(//dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/etc/ssl/private): failed to open dir: Permission denied


  [UnexpectedValueException]
  RecursiveDirectoryIterator::__construct(//dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/dev/fd/9/etc/ssl/private): failed to open dir: Permission denied

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>]...
The command "composer update --no-interaction --prefer-dist" failed. Retrying, 2 of 3.

.....

Editoval ali (31. 5. 2017 18:38)

Martk
Člen | 652
+
+1
-

Bude ti to prd platné, ale padá to už v composeru, který používá části symfony.

Tomáš Votruba
Moderator | 1114
+
0
-

Posleš odkaz na ten soubor? Líp by se to řešilo s větším kontextem

ali
Člen | 342
+
+1
-

@TomášVotruba https://travis-ci.org/…ualPaginator

EDIT: tak chyba byla v composeru, ale nejspise by me to nenapadlo, tak diky za nakopnuti @Martk

Editoval ali (1. 6. 2017 5:44)