1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00
joplin/.travis.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

2017-11-13 16:40:47 +02:00
rvm: 2.3.3
2017-11-13 16:05:49 +02:00
matrix:
include:
- os: osx
osx_image: xcode9.0
language: node_js
node_js: "8"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
2017-11-14 00:44:41 +02:00
- os: linux
sudo: required
dist: trusty
language: node_js
node_js: "8"
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
2017-11-13 18:40:26 +02:00
# cache:
# directories:
# - node_modules
# - $HOME/.cache/electron
# - $HOME/.cache/electron-builder
2017-11-13 16:24:08 +02:00
before_install:
2017-11-13 17:43:46 +02:00
# HOMEBREW_NO_AUTO_UPDATE needed so that Homebrew doesn't upgrade to the next
# version, which requires Ruby 2.3, which is not available on the Travis VM.
2017-11-14 00:44:41 +02:00
- |
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
HOMEBREW_NO_AUTO_UPDATE=1 brew install yarn
else
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
fi
2017-11-13 16:05:49 +02:00
script:
2017-11-13 16:08:32 +02:00
- |
cd ElectronClient/app
2017-11-16 13:45:42 +02:00
rsync -aP ../../ReactNativeClient/lib/ lib/
2017-11-13 19:22:04 +02:00
npm install
2017-11-16 13:37:46 +02:00
ls -la .
ls -la lib
2017-11-13 19:59:16 +02:00
yarn dist