Skip to content

Commit 5c71382

Browse files
authored
Update CircleCI Build (#851)
1 parent 40776dd commit 5c71382

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,19 @@ shared: &shared
3333
command: |
3434
mv ~/build_directory/algoliasearch-magento-2/dev/tests/install-config-mysql.php ~/magento_directory/dev/tests/integration/etc/install-config-mysql.php
3535
36+
- run:
37+
name: Before setup
38+
command: |
39+
wget https://alg.li/algolia-keys && chmod +x algolia-keys
40+
3641
- run:
3742
name: Run tests
3843
command: |
3944
cd ~/magento_directory/dev/tests/integration
45+
export CI_BUILD_NUM=$CIRCLE_BUILD_NUM
46+
export CI_PROJ_USERNAME=$CIRCLE_PROJECT_USERNAME
47+
export CI_PROJ_REPONAME=$CIRCLE_PROJECT_REPONAME
48+
eval $(~/build_directory/algoliasearch-magento-2/algolia-keys export)
4049
php -dmemory_limit=-1 ../../../vendor/bin/phpunit ../../../vendor/algolia/algoliasearch-magento-2/Test
4150
4251
jobs:

0 commit comments

Comments
 (0)