This repository was archived by the owner on Mar 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 66
77php :
88 - 7.2
9+ - nightly
910
1011matrix :
1112 include :
1213 - php : 7.2
1314 env : setup=no_encryption
14- # - php: 7.2
15- # env: setup=sodium_ext
15+ - php : 7.2
16+ env : setup=sodium_ext
1617
1718mysql :
1819 database : dbtest
1920 username : root
2021 encoding : utf8
2122
2223before_install :
24+ # Manually compile the libsodium library. This sucks, Travis. https://github.com/travis-ci/travis-ci/issues/8863
2325 - |
2426 if [[ $setup = 'sodium_ext' ]]; then
25- echo "extension=sodium" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
27+ git clone -b stable https://github.com/jedisct1/libsodium.git;
28+ cd libsodium && sudo ./configure && sudo make check && sudo make install && cd ..;
2629 fi
2730
2831install :
32+ - |
33+ if [[ $setup = 'sodium_ext' ]]; then
34+ pecl install libsodium;
35+ echo "extension=sodium.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
36+ fi
2937 - curl -o config/cacert.pem https://curl.haxx.se/ca/cacert.pem
3038 - travis_retry composer install --no-interaction --prefer-source
3139 - mysql -e 'create database dbtest;'
You can’t perform that action at this time.
0 commit comments