forked from maidsafe/sn_browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (35 loc) · 1.85 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
42
43
44
env:
global:
- secure: "sDQ/Ai7CWofxj203YwmMQhGlfDhCnDQn8ti3rTPk9tVxbqR8uYYbSBJw46xxdzcVfwCXN6z+6ZG1Xp9DXYSn5tGMW+JiSMY0gaSI0/fuL3GqBlOGRMCljJEQNb8dHeXjVqbWfviymx5QT8ATF4xRR9jslLLAQkiqFqqNanB6A2pAZqYo9OVWg8+K5wN+/kpKevYkMFw0Bg2bZxVte8r/TTMN6aHmy8uCFCZ1jdjdZquaG/qu89jwFDriJXGUFqzyqa+j1Lp2HDEf9FsaapXLzrj3q6H7ykfYYoFcHo/6MO46YGBFvbyd0yFy4Ipca+gRUR6p4U74+rL0BQfj5JfM0Ekjnz9KwvbGH178oY02CN2KG+OeLkRpaom94ncibZR7WvbBi050EZpkbpqW9H9e5UqQQI3wL+YqWjD6rqjA2L5MxBSSi5Na3L7m2UdXlXQd7yBQK9uCywcCpHWoihNLC8GJ1DVD2EUBReW0YQatBdmlsP8XoElOngILA72+p7bjJ5aJugxSc1gZejy4P0suYVSdYm1k6+Og0PojH38gaqWunOCA+fb5bxGIsB/dFfTkEzp/G/NGNl6b8KwTXCCbS5E6qWI0/NHinCLGNQoovEgFwdVjF6+zOmroCwSSx23xgG1Fr1TY4GIcw1Td73ibGtJU1B6UyoBaaOQ9WpDxEes="
matrix:
fast_finish: true
include:
- os: osx
osx_image: xcode11.2
language: node_js
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- NODE_ENV=prod
cache:
yarn: true
directories:
- node_modules
- $(npm config get prefix)/lib/node_modules
- $HOME/.cache/electron
before_install:
- echo $TRAVIS_NODE_VERSION
install:
- yarn
- ls node_modules/safe-nodejs/native
before_script:
# osx set window size
- "/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080;
script:
- xattr -cr . ;
- yarn build-e2e
- travis_retry yarn cross-env NODE_ENV=test TEST_CAFE=true TEST_UNPACKED=true IS_UNPACKED=true t testcafe electron:. ./__testcafe__/peruse.spec.*
- travis_retry yarn cross-env NODE_ENV=test TEST_UNPACKED=true TEST_CAFE=true IS_UNPACKED=true t testcafe electron:. ./__testcafe__/navigation.spec.*
- travis_retry yarn cross-env NODE_ENV=test TEST_UNPACKED=true TEST_CAFE=true IS_UNPACKED=true t testcafe electron:. ./__testcafe__/settingsMenu.spec.*
after_failure:
- system_profiler SPDisplaysDataType | grep Resolution