Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…udio-extension into duncdrum-CI-build-test
  • Loading branch information
adamretter committed Jul 21, 2020
2 parents 05fa35b + ba79cb9 commit ce2bd83
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 37 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,9 @@ fusion-studio-extension/src/browser/style/index.css
# integration test files
cypress/videos/*
cypress/screenshots/*

# private
.notes

# node-gyp
build/
88 changes: 53 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
global:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
- YARN_GPG=no
- YARN_GPG=no

jobs:
include:
Expand All @@ -31,9 +31,8 @@ jobs:
node_js: 10
env:
- IMG=existdb/existdb:latest
- API_XAR=https://github.com/evolvedbinary/fusion-studio-api/releases/download/0.1.0/fusion-studio-api-0.1.0.xar
before_install:
- python --version
- API_XAR=https://github.com/evolvedbinary/fusion-studio-api/releases/download/0.1.1/fusion-studio-api-0.1.1.xar
before_script:
- docker pull $IMG
- docker create --name exist-ci -p 8080:8080 $IMG
- wget $API_XAR
Expand All @@ -42,56 +41,48 @@ jobs:
- rm *.xar
- sleep 10
script:
- yarn test
- yarn run cypress run --record

- name: Ubuntu Xenial (16.04) / NodeJS 12 / Python 2
os: linux
dist: xenial
node_js: 12
before_install:
- python --version

- name: Ubuntu Focal (20.04) / NodeJS 10 / Python 3
os: linux
dist: focal
node_js: 10
before_install:
- python --version

- name: Ubuntu Focal (20.04) / NodeJS 12 / Python 3
os: linux
dist: focal
node_js: 12
before_install:
- python --version

- name: Ubuntu Focal (20.04) / NodeJS 14 / Python 3
os: linux
dist: focal
node_js: 14

- name: macOS High Sierra (10.13) / NodeJS 10 / Python 2
os: osx
osx_image: xcode9.3
node_js: 10
before_install:
- python --version

# - name: macOS High Sierra (10.13) / NodeJS 12 / Python 2
# os: osx
# osx_image: xcode9.3
# node_js: 12
# before_install:
# - python --version
- name: macOS High Sierra (10.13) / NodeJS 12 / Python 2
os: osx
osx_image: xcode9.3
node_js: 12

- name: macOS Catalina (10.15) / NodeJS 10 / Python 2
os: osx
osx_image: xcode12
node_js: 10
before_install:
- python --version

# - name: macOS Catalina (10.15) / NodeJS 12 / Python 2
# os: osx
# osx_image: xcode12
# node_js: 12
# before_install:
# - python --version
- name: macOS Catalina (10.15) / NodeJS 12 / Python 2
os: osx
osx_image: xcode12
node_js: 12

- name: macOS Catalina (10.15) / NodeJS 10 / Python 3
os: osx
Expand All @@ -102,14 +93,41 @@ jobs:
before_install:
- $PYTHON --version

# - name: macOS Catalina (10.15) / NodeJS 12 / Python 3
# os: osx
# osx_image: xcode12
# node_js: 12
# env:
# - PYTHON=/usr/bin/python3
# before_install:
# - $PYTHON --version
- name: macOS Catalina (10.15) / NodeJS 12 / Python 3
os: osx
osx_image: xcode12
node_js: 12
env:
- PYTHON=/usr/bin/python3
before_install:
- $PYTHON --version

allow_failures:
- name: Ubuntu Focal (20.04) / NodeJS 14 / Python 3
os: linux
dist: focal
node_js: 14

- name: macOS High Sierra (10.13) / NodeJS 12 / Python 2
os: osx
osx_image: xcode9.3
node_js: 12

- name: macOS Catalina (10.15) / NodeJS 12 / Python 2
os: osx
osx_image: xcode12
node_js: 12

- name: macOS Catalina (10.15) / NodeJS 12 / Python 3
os: osx
osx_image: xcode12
node_js: 12
env:
- PYTHON=/usr/bin/python3


before_install:
- python --version

install:
- yarn
Expand All @@ -119,7 +137,7 @@ install:
- yarn start &
- cd ..

before_script:
script:
- yarn test

before_cache:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exec $SHELL
```
#### For Testing
* [cypress.js](https://www.cypress.io) v3.2.0
* [cypress.js](https://www.cypress.io) ` >= 4.1.0`.
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"node-sass": "4.14.1"
},
"resolutions": {
"node-gyp": "^3.8.0",
"node-gyp": "^7.0.0"
},
"workspaces": [
Expand Down

0 comments on commit ce2bd83

Please sign in to comment.