diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..981203b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build + +on: + pull_request: + push: + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + smalltalk: [ Pharo64-8.0, Pharo64-7.0, Pharo32-7.0 ] + name: ${{ matrix.smalltalk }} + steps: + - uses: actions/checkout@v2 + - uses: ba-st-actions/setup-smalltalkCI@v1.0.0 + with: + smalltalk-version: ${{ matrix.smalltalk }} + - run: smalltalkci -s ${{ matrix.smalltalk }} + timeout-minutes: 15 + - run: echo "::set-env name=SCI_COVERAGE_FILE_LOCATION::${HOME}/.smalltalkCI/_builds/coveralls_results.json" + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v1.0.6 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: ${{ env.SCI_COVERAGE_FILE_LOCATION }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d885303..0000000 --- a/.travis.yml +++ /dev/null @@ -1,16 +0,0 @@ -language: smalltalk -sudo: false - -os: - - linux - -smalltalk: -- Pharo64-8.0 -- Pharo64-7.0 -- Pharo32-7.0 -- Pharo32-6.1 - -matrix: - allow_failures: - - smalltalk: Pharo64-8.0 - fast_finish: true diff --git a/LICENSE b/LICENSE index 56c6d5d..0219d44 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2017-2019 Buenos Aires Smalltalk Contributors +Copyright (c) 2017-2020 Buenos Aires Smalltalk Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index cbd4791..8430cd6 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,10 @@

[![GitHub release](https://img.shields.io/github/release/ba-st/Kepler.svg)](https://github.com/ba-st/Kepler/releases/latest) -[![Build Status](https://travis-ci.org/ba-st/Kepler.svg?branch=release-candidate)](https://travis-ci.org/ba-st/Kepler) -[![Coverage Status](https://coveralls.io/repos/github/ba-st/Kepler/badge.svg?branch=release-candidate)](https://coveralls.io/github/ba-st/Kepler?branch=release-candidate) +[![Build Status](https://github.com/ba-st/Kepler/workflows/Build/badge.svg?branch=release-candidate)](https://github.com/ba-st/Kepler/actions?query=workflow%3ABuild) +[![Coverage Status](https://codecov.io/github/ba-st/Kepler/coverage.svg?branch=release-candidate)](https://codecov.io/gh/ba-st/Kepler/branch/release-candidate) +[![Pharo 7.0](https://img.shields.io/badge/Pharo-7.0-informational)](https://pharo.org) +[![Pharo 8.0](https://img.shields.io/badge/Pharo-8.0-informational)](https://pharo.org) > *Name origin*: Mathematician and astronomer [Johannes Kepler](https://en.wikipedia.org/wiki/Johannes_Kepler) is best known for his laws of planetary motion that describes how planets move around the Sun. @@ -22,12 +24,6 @@ - The code is licensed under [MIT](LICENSE). - The documentation is licensed under [CC BY-SA 4.0](http://creativecommons.org/licenses/by-sa/4.0/). -## Quick Start - -- Download the latest [Pharo 32](https://get.pharo.org/) or [64 bits VM](https://get.pharo.org/64/). -- Download a ready to use image from the [release page](https://github.com/ba-st/Kepler/releases/latest) -- Explore the [documentation](docs/) - ## Installation To load the project in a Pharo image, or declare it as a dependency of your own project follow this [instructions](docs/Installation.md). diff --git a/source/BaselineOfKepler/BaselineOfKepler.class.st b/source/BaselineOfKepler/BaselineOfKepler.class.st index e1c9c99..9ce848d 100644 --- a/source/BaselineOfKepler/BaselineOfKepler.class.st +++ b/source/BaselineOfKepler/BaselineOfKepler.class.st @@ -12,7 +12,7 @@ BaselineOfKepler >> baseline: spec [ for: #pharo do: [ self setUpDependencies: spec; - baselineKepler: spec. + setUpPackages: spec. spec group: 'Deployment' with: #('Core' 'Extended'); group: 'CI' with: 'Tests'; @@ -21,8 +21,28 @@ BaselineOfKepler >> baseline: spec [ ] ] +{ #category : #accessing } +BaselineOfKepler >> projectClass [ + + ^ MetacelloCypressBaselineProject +] + +{ #category : #baselines } +BaselineOfKepler >> setUpDependencies: spec [ + + spec + baseline: 'Buoy' with: [ spec repository: 'github://ba-st/Buoy:v6/source' ]; + project: 'Buoy-Deployment' copyFrom: 'Buoy' with: [ spec loads: 'Deployment' ]; + project: 'Buoy-SUnit' copyFrom: 'Buoy' with: [ spec loads: 'Dependent-SUnit-Extensions' ]; + project: 'Buoy-Tools' copyFrom: 'Buoy' with: [ spec loads: 'Tools' ]. + + spec + baseline: 'Chalten' with: [ spec repository: 'github://ba-st/Chalten:v8/source' ]; + project: 'Chalten-Gregorian' copyFrom: 'Chalten' with: [ spec loads: 'Chalten-Gregorian-Calendar' ] +] + { #category : #baselines } -BaselineOfKepler >> baselineKepler: spec [ +BaselineOfKepler >> setUpPackages: spec [ spec package: 'Kepler-System' with: [ spec requires: 'Buoy-Deployment' ]; @@ -43,23 +63,3 @@ BaselineOfKepler >> baselineKepler: spec [ with: [ spec requires: #('Kepler-Notifications' 'Kepler-SUnit-Model') ]; group: 'Tests' with: 'Kepler-Notifications-Tests' ] - -{ #category : #accessing } -BaselineOfKepler >> projectClass [ - - ^ MetacelloCypressBaselineProject -] - -{ #category : #baselines } -BaselineOfKepler >> setUpDependencies: spec [ - - spec - baseline: 'Buoy' with: [ spec repository: 'github://ba-st/Buoy:v5/source' ]; - project: 'Buoy-Deployment' copyFrom: 'Buoy' with: [ spec loads: 'Deployment' ]; - project: 'Buoy-SUnit' copyFrom: 'Buoy' with: [ spec loads: 'Dependent-SUnit-Extensions' ]; - project: 'Buoy-Tools' copyFrom: 'Buoy' with: [ spec loads: 'Tools' ]. - - spec - baseline: 'Chalten' with: [ spec repository: 'github://ba-st/Chalten:v8/source' ]; - project: 'Chalten-Gregorian' copyFrom: 'Chalten' with: [ spec loads: 'Chalten-Gregorian-Calendar' ] -]