2017-05-29 22:41:11 +03:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
2019-03-13 18:27:19 +03:00
|
|
|
- "10"
|
2014-11-05 04:38:23 +03:00
|
|
|
|
2016-11-24 01:27:48 +03:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2015-10-02 18:31:56 +03:00
|
|
|
|
2014-11-05 04:38:23 +03:00
|
|
|
os:
|
2014-11-05 05:06:26 +03:00
|
|
|
- linux
|
2014-11-05 04:38:23 +03:00
|
|
|
|
2015-10-02 18:31:56 +03:00
|
|
|
addons:
|
|
|
|
apt_packages:
|
|
|
|
- graphicsmagick
|
|
|
|
- python-virtualenv
|
|
|
|
- libgmp3-dev
|
2015-12-09 06:44:13 +03:00
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
2018-07-18 05:55:42 +03:00
|
|
|
- docker-ce
|
2015-10-02 18:31:56 +03:00
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
2019-03-13 18:27:19 +03:00
|
|
|
- TRAVIS_NODE_VERSION="10"
|
2015-10-02 18:31:56 +03:00
|
|
|
|
2015-06-05 18:08:03 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
2015-12-14 22:12:02 +03:00
|
|
|
- os: osx
|
2015-07-10 21:50:49 +03:00
|
|
|
- fast_finish: true
|
2015-06-05 18:08:03 +03:00
|
|
|
|
2014-11-05 04:38:23 +03:00
|
|
|
before_install:
|
2018-07-11 17:23:55 +03:00
|
|
|
- npm i -g npm@6
|
2016-09-28 01:53:06 +03:00
|
|
|
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then brew install graphicsmagick; fi
|
2015-10-02 18:31:56 +03:00
|
|
|
|
|
|
|
install:
|
|
|
|
- PATH="`npm bin`:`npm bin -g`:$PATH"
|
2018-07-11 17:23:55 +03:00
|
|
|
- npm install -g npm@6
|
2014-11-05 04:43:08 +03:00
|
|
|
- node --version
|
2014-12-29 04:40:02 +03:00
|
|
|
- npm --version
|
2018-07-19 22:06:06 +03:00
|
|
|
- curl -sSf https://sh.rustup.rs | sh -s -- -y --verbose
|
|
|
|
- PATH=$PATH:$HOME/.cargo/bin
|
|
|
|
- rustup install nightly-2018-06-23
|
|
|
|
- rustc --version
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cargo
|
|
|
|
- $HOME/.rustup
|
2014-11-05 04:38:23 +03:00
|
|
|
|
|
|
|
script:
|
2015-10-02 18:31:56 +03:00
|
|
|
- npm config set spin false
|
|
|
|
- npm install
|
2015-03-16 05:39:19 +03:00
|
|
|
- ./test/curl.sh
|
2018-04-24 04:30:10 +03:00
|
|
|
- pm2 kill
|
|
|
|
- pm2 start mysql_servers.json
|
|
|
|
- ./test/mysql.sh
|
2016-07-12 16:05:31 +03:00
|
|
|
|
|
|
|
after_failure:
|
|
|
|
- pm2 status
|