代码之家  ›  专栏  ›  技术社区  ›  StuartDTO

将travis.yml添加到应用程序检测失败

  •  0
  • StuartDTO  · 技术社区  · 5 年前

    我想试试 TravisCI 我想知道我是否能把我的项目和 土传病 ,我读过: https://docs.travis-ci.com/user/languages/android

    但如果我创造了这个 *.yml 如何查看生成是否通过?我没有创建任何单元测试、集成测试,任何东西,首先我只想链接它,每次我执行push或commit时都要检查,首先检查构建是否失败,如果不执行commit和push,这可能吗?

    这应该是我必须在我的应用程序中创建的文件吗?

    language: android
    android:
    components:
    # Uncomment the lines below if you want to
    # use the latest revision of Android SDK Tools
    # - tools
    # - platform-tools
    
    # The BuildTools version used by your project
    - build-tools-26.0.2
    
    # The SDK version used to compile your project
    - android-26
    
    # Additional components
    - extra-google-google_play_services
    - extra-google-m2repository
    - extra-android-m2repository
    
    # Specify at least one system image,
    # if you need to run emulator(s) during your tests
    - sys-img-x86-android-26
    - sys-img-armeabi-v7a-android-17
    
    0 回复  |  直到 5 年前