2015-11-19 14:56:43 +00:00
|
|
|
sudo: false
|
2015-11-23 13:48:57 +00:00
|
|
|
language: cpp
|
2015-11-19 14:56:43 +00:00
|
|
|
|
2015-11-23 13:48:57 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-11-19 14:56:43 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-4.9
|
|
|
|
- g++-4.9
|
|
|
|
- gcc-4.9-multilib
|
|
|
|
- g++-4.9-multilib
|
|
|
|
- zip
|
|
|
|
- libgtk2.0-0
|
|
|
|
|
|
|
|
before_install:
|
2015-11-23 13:48:57 +00:00
|
|
|
- git submodule update --init --recursive
|
|
|
|
- git clone https://github.com/creationix/nvm.git ./.nvm
|
|
|
|
- source ./.nvm/nvm.sh
|
2016-04-19 14:15:53 +00:00
|
|
|
- nvm install 5.10
|
|
|
|
- nvm use 5.10
|
2015-11-23 13:48:57 +00:00
|
|
|
- npm config set python `which python`
|
|
|
|
- npm install -g gulp
|
|
|
|
- if [ $TRAVIS_OS_NAME == "linux" ]; then
|
2015-11-24 07:30:31 +00:00
|
|
|
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
|
|
|
|
sh -e /etc/init.d/xvfb start;
|
|
|
|
sleep 3;
|
2015-11-23 13:48:57 +00:00
|
|
|
fi
|
2015-11-19 14:56:43 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- ./scripts/npm.sh install
|
2015-11-25 08:49:27 +00:00
|
|
|
|
|
|
|
script:
|
2015-11-24 18:37:47 +00:00
|
|
|
- gulp hygiene
|
2015-11-25 08:27:02 +00:00
|
|
|
- gulp electron
|
2016-06-16 14:34:40 +00:00
|
|
|
- gulp compile
|
|
|
|
- gulp optimize-vscode
|
2016-01-04 11:35:25 +00:00
|
|
|
- ./scripts/test.sh
|
2016-03-08 10:50:56 +00:00
|
|
|
- ./scripts/test-integration.sh
|