Commit d0a902f0 authored by 7c00's avatar 7c00

Update ci config

parent 7e497853
...@@ -10,7 +10,7 @@ aliases: ...@@ -10,7 +10,7 @@ aliases:
directories: directories:
- ~/.cache/yarn - ~/.cache/yarn
- ~/.gradle/caches/modules-2 - ~/.gradle/caches/modules-2
- ~/.gradle/wrappers - ~/.gradle/wrapper
- &ios-cache - &ios-cache
directories: directories:
...@@ -49,7 +49,7 @@ jobs: ...@@ -49,7 +49,7 @@ jobs:
- stage: "build test for example" - stage: "build test for example"
language: objective-c language: objective-c
osx_image: xcode9.1 osx_image: xcode9.3
cache: *ios-cache cache: *ios-cache
before_install: before_install:
script: script:
...@@ -59,6 +59,7 @@ jobs: ...@@ -59,6 +59,7 @@ jobs:
- cd ios - cd ios
- pod install --repo-update - pod install --repo-update
- xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator -quiet - xcodebuild -workspace RNAMap3D.xcworkspace -scheme RNAMap3D -sdk iphonesimulator -quiet
- ls -l build/Build/Products/Debug-iphonesimulator/
- stage: "build test for new project" - stage: "build test for new project"
language: android language: android
...@@ -72,11 +73,11 @@ jobs: ...@@ -72,11 +73,11 @@ jobs:
- react-native link - react-native link
- cd android - cd android
- ./gradlew build - ./gradlew build
- ls -l app/build/outputs/apk - ls -l app/build/outputs/apk/
- stage: "build test for new project" - stage: "build test for new project"
language: objective-c language: objective-c
osx_image: xcode9.1 osx_image: xcode9.3
cache: *ios-cache cache: *ios-cache
script: script:
- brew install yarn - brew install yarn
...@@ -103,6 +104,7 @@ jobs: ...@@ -103,6 +104,7 @@ jobs:
EOF EOF
- pod install --repo-update - pod install --repo-update
- xcodebuild -workspace App.xcworkspace -scheme App -sdk iphonesimulator -quiet - xcodebuild -workspace App.xcworkspace -scheme App -sdk iphonesimulator -quiet
- ls -l build/Build/Products/Debug-iphonesimulator/
stages: stages:
- "test js" - "test js"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment