-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
41 lines (41 loc) · 2.67 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
python:
- '3.7'
before_install:
- set -e
- ". $HOME/.nvm/nvm.sh"
- nvm install 13.7.0
- nvm use 13.7.0
- rm -rf node_modules
- npm install
- sudo -H pip install --upgrade setuptools
- sudo -H pip install --upgrade pip wheel requests pyopenssl
- sudo -H pip install --ignore-installed six
- sudo -H pip install --upgrade tox twine
- pip install --upgrade setuptools
- pip install --upgrade aiohttp requests cryptography pyopenssl
- pip install ccxt
- pip2 install requests[security]
- git pull --tags
- pecl install ds
- php -i | grep php.ini
- sudo ls -alh /home/travis/.phpenv/versions/$(phpenv version-name)/lib/php/extensions/no-debug-zts-20170718/
- sudo tail /home/travis/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer install
script:
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
npm config set git-tag-version=false && NPM_VERSION=$(npm version patch); fi
- cp package.json README.md LICENSE.txt keys.json python
- npm run build
- npm run test-base
- bash -c 'node run-tests --js --python --verbose 7' 2>&1
- if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then env COMMIT_MESSAGE=${NPM_VERSION:1} GITHUB_TOKEN=${GITHUB_TOKEN} ./build/push.sh; fi
after_failure:
- dmesg | grep -i kill
- sleep 4
notifications:
slack:
secure: ktACBU+k1AL0SXKHKNcEkWjx5Tha7OWyO1YeirwDxnQiI1KPfgs0sx8FenzBuH9imob3fU4DSpftIC9Zpa9pRIyKApIOMw3aGG4tY8DYiV7zTaHxs4GKHug2BdUG+U2/h6iaulS7CxiqVf9/6aZFMhYT+Dl3tbof0+Xin9OKXLc2QGSgjzHoxBu1FrHEMIqcoKzKHP7PHWTY7xSDvBHw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