-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
47 lines (47 loc) · 1.53 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
45
46
47
# test against both regular Ruby and RubyMotion
jobs:
include:
- stage: ruby 2.5
rvm: 2.5.5
script:
- bundle install --jobs=3 --retry=3
- bundle exec rake spec
- stage: ruby 2.6
rvm: 2.6.6
script:
- bundle install --jobs=3 --retry=3
- bundle exec rake spec
- stage: macOS
os: osx
osx_image: xcode11.5
language: objective-c
env:
- RUBYMOTION_LICENSE=1dcac45cc434293009f74b33037bdf7361a3a1ff # Official license key for open-source projects
- TMP_DIR=./tmp # For motion repo, so it doesn't attempt to use /tmp, to which it has no access
- OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
cache:
bundler: false
install:
- ./.travis/motion_setup.sh
script:
- cd rubymotion
- export BUNDLE_GEMFILE=$PWD/Gemfile
- bundle install --jobs=3 --retry=3
- bundle exec rake spec
- stage: iOS
os: osx
osx_image: xcode11.5
language: objective-c
env:
- RUBYMOTION_LICENSE=1dcac45cc434293009f74b33037bdf7361a3a1ff # Official license key for open-source projects
- TMP_DIR=./tmp # For motion repo, so it doesn't attempt to use /tmp, to which it has no access
- OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
cache:
bundler: false
install:
- ./.travis/motion_setup.sh
script:
- cd rubymotion
- export BUNDLE_GEMFILE=$PWD/Gemfile
- bundle install --jobs=3 --retry=3
- bundle exec rake spec platform=ios