Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Enable Github Actions instead Travis/AppVeyor (#258)
Browse files Browse the repository at this point in the history
* Enable Github Actions instead Travis/AppVeyor

Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
  • Loading branch information
Mathieu BAGUE authored and geofjamg committed Dec 11, 2019
1 parent 6e0e0a8 commit b8ef3c7
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 44 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on: [push]

jobs:
build:
name: Build OS ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Set up JDK 1.8
uses: geofjamg/setup-java@master
with:
java-version: 1.8
java-package: jdk+fx

- name: Checkout powsybl-core
uses: actions/checkout@v1
with:
repository: powsybl/powsybl-core
ref: refs/heads/master

- name: Build powsybl-core with Maven
run: mvn --batch-mode -DskipTests install
working-directory: ../powsybl-core

- name: Checkout sources
uses: actions/checkout@v1

- name: Build with Maven
run: mvn --batch-mode package

- name: Run SonarCloud analysis
if: matrix.os == 'ubuntu-latest'
run: >
mvn --batch-mode -Pjacoco verify sonar:sonar
-Dsonar.host.url=https://sonarcloud.io
-Dsonar.organization=powsybl-ci-github
-Dsonar.projectKey=com.powsybl:powsybl-gse
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Powsybl GSE - Grid Study Environment

[![Build Status](https://api.travis-ci.com/powsybl/powsybl-gse.svg?branch=master)](https://travis-ci.com/powsybl/powsybl-gse)
[![Build status](https://ci.appveyor.com/api/projects/status/dbwhmay33ynnftmq/branch/master?svg=true)](https://ci.appveyor.com/project/powsybl/powsybl-gse/branch/master)
[![Actions Status](https://github.com/powsybl/powsybl-gse/workflows/CI/badge.svg)](https://github.com/powsybl/powsybl-gse/actions)
[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=com.powsybl%3Apowsybl-gse&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.powsybl%3Apowsybl-gse)
[![MPL-2.0 License](https://img.shields.io/badge/license-MPL_2.0-blue.svg)](https://www.mozilla.org/en-US/MPL/2.0/)
[![Javadocs](https://www.javadoc.io/badge/com.powsybl/powsybl-gse.svg?color=blue)](https://www.javadoc.io/doc/com.powsybl/powsybl-gse)
Expand Down
22 changes: 0 additions & 22 deletions appveyor.yml

This file was deleted.

0 comments on commit b8ef3c7

Please sign in to comment.