Skip to content

Commit

Permalink
Merge pull request #18 from simplifi/feature/simplifi_versioning
Browse files Browse the repository at this point in the history
Simplifi Versioning
  • Loading branch information
LiruMouse authored Sep 23, 2022
2 parents 5b657d3 + 876dbba commit 516c2d6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
16 changes: 6 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@ jobs:
otp_release: 25.0
- elixir: 1.12.3
otp_release: 24.0
- elixir: 1.11.4
otp_release: 24.0
- elixir: 1.10.4
otp_release: 23.0
- elixir: 1.9.4
otp_release: 22.3
- elixir: 1.8.2
otp_release: 22.3
- elixir: 1.7.4
otp_release: 22.3

branches:
only:
Expand All @@ -34,5 +24,11 @@ cache:
- ~/.mix
- ~/.hex

install:
- cd
- mix do local.rebar --force, local.hex --force
- cd -
- mix deps.get

script:
- ./scripts/ci_build.sh
9 changes: 7 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
unless Kernel.function_exported?(CoMix, :version, 0) do
{:ok, _} = Application.ensure_all_started(:hex)
Mix.install([{:co_mix, "~> 1.0", runtime: false}])
end

defmodule PayDayLoan.Mixfile do
use Mix.Project

def project do
[
app: :pay_day_loan,
version: "0.7.1",
version: CoMix.version(),
description: description(),
package: package(),
elixir: "~> 1.7",
elixir: "~> 1.12",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
Expand Down
3 changes: 1 addition & 2 deletions scripts/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

set -ex

mix deps.get
mix compile --warnings-as-errors
MIX_ENV=test mix compile

Expand All @@ -15,5 +14,5 @@ fi

if [ "$DIALYZER" == true ]
then
mix dialyzer --halt-exit-status
mix dialyzer
fi

0 comments on commit 516c2d6

Please sign in to comment.