Skip to content

Instantly share code, notes, and snippets.

@TimoGlastra
Created November 29, 2018 16:08
Show Gist options
  • Save TimoGlastra/7a35dd4f3d9a51fb56ad7c77f2257aea to your computer and use it in GitHub Desktop.
Save TimoGlastra/7a35dd4f3d9a51fb56ad7c77f2257aea to your computer and use it in GitHub Desktop.
e2e_ios:
stage: test
tags:
- react-native
- ios
before_script:
- yarn config set cache-folder .yarn
- yarn install
script:
- yarn detox build -c ios.sim.release
- yarn detox test -c ios.sim.release --cleanup
cache:
paths:
- node_modules/
- .yarn
e2e_android:
stage: test
tags:
- react-native
- android
before_script:
- yarn config set cache-folder .yarn
- yarn install
script:
- yarn detox build -c android.emu.debug
- yarn detox test -c android.emu.debug --cleanup
cache:
paths:
- node_modules/
- .yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment