Fix travis ci build script

This commit is contained in:
Daniil Gentili 2018-02-21 13:05:35 +01:00
parent 250ca0b074
commit f9626173a3
No known key found for this signature in database
GPG Key ID: 259900308520B573
3 changed files with 2 additions and 3 deletions

View File

@ -5,9 +5,7 @@ before_install:
- openssl aes-256-cbc -K $encrypted_5699a01b7a5f_key -iv $encrypted_5699a01b7a5f_iv - openssl aes-256-cbc -K $encrypted_5699a01b7a5f_key -iv $encrypted_5699a01b7a5f_iv
-in madeline_rsa.enc -out madeline_rsa -d -in madeline_rsa.enc -out madeline_rsa -d
- echo "phar.readonly = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini - echo "phar.readonly = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- eval "$(ssh-agent -s)"
- chmod 600 madeline_rsa - chmod 600 madeline_rsa
- ssh-add madeline_rsa
script: script:
- tests/makephar.sh - tests/makephar.sh

View File

@ -1 +0,0 @@
<?php

View File

@ -34,6 +34,8 @@ $php7to5 convert --copy-all phar7 phar5
php makephar.php phar5 madeline.phar $TRAVIS_COMMIT php makephar.php phar5 madeline.phar $TRAVIS_COMMIT
eval "$(ssh-agent -s)"
ssh-add madeline_rsa
git clone git@github.com:danog/MadelineProtoPhar git clone git@github.com:danog/MadelineProtoPhar
cd MadelineProtoPhar cd MadelineProtoPhar
cp ../madeline.phar . cp ../madeline.phar .