Browse Source

Travis will only test

tags/0.0.7
Anton Smirnov 4 weeks ago
parent
commit
aa3df3598f
1 changed files with 5 additions and 20 deletions
  1. 5
    20
      .travis.yml

+ 5
- 20
.travis.yml View File

@@ -2,9 +2,6 @@ language: php
php:
- '7.2'
- '7.3'
stages:
- test
- deploy
cache:
directories:
- $HOME/.composer/cache/files
@@ -19,20 +16,8 @@ install:
- pecl install libsodium
- echo "extension=sodium.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer install
jobs:
include:
- stage: test
script: vendor/bin/phpunit tests
- stage: deploy
script: php make-phar.php
deploy:
provider: releases
api_key:
secure: inYk4kYSktQ44G8ptwwS6/54GowSeWoYVU91xFjyzdxxCA2lazaX9AgdRBBeMtM76ZjsOJ4crWin6LlvC47QUhd1mJaQp0uTKW5WXvAVPBgurA8kWTitdka85wf86YQP8wZM4GISOwNOy10Fs6bhkOQtAh9ekwXITIAJ1GK3QilD69XRCw7eBujWxVaQZ2/ikYAaQypGrtGIT+A7FmegQAB9KOrwDvvFMbyG3pIpEsmeyqgumSiZzWprOCosUXF+opLR/QB81NgUqltiI/Nc8gCW/GYeCOisVBXTDSj+heAU0txL2xEWpsEQbIU7UXV5aEsN804+xugTpD5bXQXD31ig0NeR0l80yXr+SiecLiIzQXWJAcDtZnTShCqJm0WJch1EKPuoF4amb3zwA6zp5XG/B+5MsNnUoOaHwxAbP0/ZQoiVKjgW9qJBnqvN+cw9GLYN3aADOvjfV//J364X2tC4xiVcAzfLEBjpmg/3vbe19movh8C4PI3dKmpW7PGqTOgv7oqB8Udk94RPesQ9++oyRc9RgZFC8/7R0W2c01fcSL4ewp8W5Tu7VkB3BOSQ/+a2FngV80/EdceQ6arFEh4FEGqCDkvXXBT2LsB/VnVM2LeP9a7TvQTamoToDZkYhbI0pnJcS0hqEXF0CmpMd8r4/q/8rV6YPxg94jEBj4o=
file: build/encryptor.phar
skip_cleanup: true
draft: true
on:
repo: sandfoxme/php-encryptor
tags: true
php: '7.2'
script:
- vendor/bin/phpunit tests --bootstrap vendor/autoload.php --coverage-clover reports/coverage/clover.xml
#after_script:
# only if generated
# - if [ -f reports/coverage/clover.xml ]; then vendor/bin/test-reporter --coverage-report reports/coverage/clover.xml; fi

Loading…
Cancel
Save