Skip to content

Commit

Permalink
Merge pull request #4 from andrewrosemberg/julia070dev
Browse files Browse the repository at this point in the history
Julia1.0
  • Loading branch information
Thuener committed Apr 16, 2019
2 parents d067199 + e874f74 commit 464251d
Show file tree
Hide file tree
Showing 35 changed files with 1,113 additions and 395 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
.vscode/
docs/build/
docs/build/
Debug/
#Manifest.toml
*.log
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ language: julia
os:
- linux
julia:
- 0.6.4
- 1.0
matrix:
allow_failures:
- julia: nightly
Expand All @@ -11,20 +11,21 @@ notifications:
sudo: false
dist: trusty

install:
- pip --version
- pip install --user --upgrade pip
# install:
# - pip --version
# - pip install --user --upgrade pip

addons:
apt_packages:
- gfortran
- qt5-default
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone(pwd()); Pkg.build("HydroPowerModels")'
- julia -e 'Pkg.test("HydroPowerModels"; coverage=true)'
#- julia -e 'using Pkg; Pkg.add(PackageSpec(url = "https://github.com/odow/MathOptFormat.jl"))'
#- julia -e 'using Pkg; Pkg.add(PackageSpec(url = "https://github.com/odow/SDDP.jl"))'
- julia -e 'if VERSION >= v"0.7.0-" using Pkg; end; Pkg.test("HydroPowerModels"; coverage=true)'
after_success:
# push coverage results to Codecov
- echo $TRAVIS_JULIA_VERSION
- julia -e 'cd(Pkg.dir("HydroPowerModels")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'cd(Pkg.dir("HydroPowerModels")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
- julia -e 'import Pkg; cd(Pkg.dir("HydroPowerModels")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'import Pkg; cd(Pkg.dir("HydroPowerModels")); Pkg.add("Documenter"); include(joinpath("docs", "make.jl"))'
Loading

0 comments on commit 464251d

Please sign in to comment.