Skip to content

Commit

Permalink
Merge branch 'develop' into ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Mulholland committed Jun 6, 2019
2 parents 095b4d2 + 0aac6d4 commit 3b767b0
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 52 deletions.
106 changes: 59 additions & 47 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ sudo: required
language: c
cache:
directories:
- node_modules
- "$HOME/.electron"
- "$HOME/.cache"
- node_modules
- "$HOME/.electron"
- "$HOME/.cache"
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
install:
- nvm install 8
- curl -o- -L https://yarnpkg.com/install.sh | bash
- source ~/.bashrc
- yarn
- nvm install 8
- curl -o- -L https://yarnpkg.com/install.sh | bash
- source ~/.bashrc
- yarn
script: true
stages:
- name: prescript
Expand All @@ -29,74 +29,86 @@ stages:
jobs:
include:
- stage: prescript
before_script:
- ./scripts/ci_merge_script.sh
# merge script may update dependencies
script:
- yarn
# merge script may update dependencies
os: osx
before_script: ./scripts/ci_merge_script.sh
script: yarn
- os: linux
before_script: ./scripts/ci_merge_script.sh
script: yarn
- stage: lint
script:
- yarn run lint
os: osx
script: yarn run lint
- os: linux
script: yarn run lint
- stage: unittest
script:
- yarn run clean
- yarn run unit
os: osx
script:
- yarn run clean
- yarn run unit
- os: linux
script:
- yarn run clean
- ./scripts/travis_headless_linux_unit_tests_script.sh
- stage: unittestandcoverage
# only allow failures when not in a critical branch (ie: master, tag)
# only allow failures when not in a critical branch (ie: master, tag)
allow_failures:
- os: linux
- os: linux
os: osx
script:
- yarn run clean
- yarn run unit
- yarn run unit:coverage
- yarn run clean
- yarn run unit
- yarn run unit:coverage
- os: linux
script:
- yarn run clean
- ./scripts/travis_headless_linux_unit_tests_script.sh
- yarn run clean
- ./scripts/travis_headless_linux_unit_tests_script.sh
- stage: test
script: ./scripts/travis_headless_e2e_tests.sh test/features/backlog
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/backlog
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/data_curator
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/backlog
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/data_curator
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/edit
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/data_curator
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/edit
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/file
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/edit
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/file
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/find
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/file
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/find
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/help
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/find
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/help
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/other
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/help
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/other
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/support
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/other
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/support
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/tools
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/support
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/tools
- os: linux
- script: ./scripts/travis_headless_e2e_tests.sh test/features/window
os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/tools
- os: osx
script: ./scripts/travis_headless_e2e_tests.sh test/features/window
- os: linux
script: ./scripts/travis_headless_e2e_tests.sh test/features/window
- stage: build
os: osx
- os: linux
script:
- yarn run clean
- yarn run release:predraft
- yarn run clean
- yarn run release:predraft
env:
global:
secure: F+Bn6BrNKTTybkEs4UwCl7961z7ura2zBeuw+tS/vXqswb//x9DEhEr5IJ53VyC+H2R3Wj8yJ121514FiJwNg4hUpUQ98DHyczbMLXrg+wjQI2ZYvhiAonR5LzDGNd/XLhSDezQK556+guq67SnGPP3iqnfjyu8XJ2IaynLukvLSazZTCliuqpEpwaCn99+xhaHLcGRF/Dh2Gg5+HVfQnC4S6eiYGo5Dm9RDG0hntxYHUOAxQYmnvXxf7uLNc0sfFSoVd1BZytZCVFLceY5DM0tOO8kRyMQk+LJqneAdhp9Z8pUMcTMDeJtNegqqSaBra8UAkrGv1tUrBYUQnq4fkbH0tees6mJNFkqNlOW67pj8zghYSAKwNXiazFmH/lYE2sleBKGflznLZPDD5XXLlQ/aKXF+3wAx0wMtiGkFBbGP+GoBg10+7RgKw0A+mpLaJAVwUYGGJSEfH3A0U0OEt7XRdk/sD4nFKLzL3SAx3QC57FdGu4VWdJJT9t54oX+NzM3QmBH3dNxmge4XFLR1iwN72yheB2HyGu5zafKdOfbvCz2fP1ddECm2KWu8I7NNuBIwoBUm3tVm60b3gTpblAO3RcIrLg3k+ACTSvxJuzqSIE2/YnXGnjfVPW/NaCcyD1cPFppTvmpjLNHRfwP9zeP4nBOHHgOv7grzmvCs6QY=
13 changes: 8 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image: Visual Studio 2017
platform:
- x64

cache:
#cache:
# - node_modules
# - '%APPDATA%\npm-cache'
# - '%USERPROFILE%\.electron'
Expand All @@ -31,9 +31,12 @@ install:
- yarn autoclean
- yarn run clean
- yarn run lint
- if defined APPVEYOR_PULL_REQUEST_NUMBER ECHO PR %APPVEYOR_PULL_REQUEST_NUMBER%
- if defined APPVEYOR_PULL_REQUEST_NUMBER yarn run unit
- if defined APPVEYOR_PULL_REQUEST_NUMBER yarn run pack
- if defined APPVEYOR_PULL_REQUEST_NUMBER yarn run cucumber:postpack:impl
configuration: Debug


for:
-
test: off
Expand Down Expand Up @@ -78,9 +81,9 @@ for:
configuration: Mergeandtest
-
branches:
only:
- testci
- master
except:
- develop
- ci
test_script:
- yarn run clean
- yarn run unit
Expand Down

0 comments on commit 3b767b0

Please sign in to comment.