• Mirko Friedenhagen's avatar
    Make integrative test run as during phase verify. · 2b60bfd1
    Mirko Friedenhagen authored
    Right now java-gitlab-api fails during Maven phase test when no
    GITLAB instance is running on localhost.
    
    Make this test run during `mvn verify` only and check beforehand
    whether the GITLAB instance is reachable. Furthermore the
    instance-under-test may be changed by adding two system properties
    during invocation.
    
    Running:
    ```
    mvn clean verify -DTEST_TOKEN=ADMIN_TOKEN -DTEST_URL=https://GITLAB_URL
    ```
    will pick up the values and use this instance/token.
    2b60bfd1
GitlabAPIT.java 3.75 KB