-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from aviks/as/onepoint
Revive project, bring it to the 1.x world
- Loading branch information
Showing
21 changed files
with
335 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
language: julia | ||
os: | ||
- linux | ||
- osx | ||
julia: | ||
- 0.5 | ||
- nightly | ||
|
||
dist: xenial | ||
services: | ||
- xvfb | ||
|
||
jobs: | ||
include: | ||
- julia: 1.0 | ||
os: linux | ||
- julia: 1.3 | ||
os: linux | ||
- julia: nightly | ||
os: linux | ||
- julia: 1.0 | ||
os: osx | ||
allow_failures: | ||
- julia: nightly | ||
|
||
notifications: | ||
email: false | ||
script: | ||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi | ||
- julia -e 'Pkg.clone(pwd())' | ||
- if [ `uname` = "Linux" ]; then | ||
xvfb-run julia -e 'Pkg.build("Tk"); Pkg.test("Tk"; coverage=true)'; | ||
elif [ `uname` = "Darwin" ]; then | ||
julia -e 'Pkg.build("Tk"); Pkg.test("Tk"; coverage=true)'; | ||
fi | ||
# - xvfb-run julia -e 'Pkg.clone(pwd()); Pkg.build("Tk"); Pkg.test("Tk"; coverage=true)'; | ||
after_success: | ||
- julia -e 'cd(Pkg.dir("Tk")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'; | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name = "Tk" | ||
uuid = "4225ea8a-3324-57e7-9ddc-5798a2cb9eab" | ||
|
||
[deps] | ||
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f" | ||
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee" | ||
Cairo = "159f3aea-2a34-519c-b102-8c37f9878175" | ||
Graphics = "a2bd30eb-e257-5431-a919-1863eab51364" | ||
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
WinRPM = "c17dfb99-b4f7-5aad-8812-456da1ad7187" | ||
|
||
[compat] | ||
Graphics = "≥ 0.1.0" | ||
julia = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
environment: | ||
matrix: | ||
- julia_version: 1.0 | ||
|
||
platform: | ||
- x86 # 32-bit | ||
- x64 # 64-bit | ||
|
||
matrix: | ||
allow_failures: | ||
- julia_version: x86 | ||
|
||
|
||
|
||
branches: | ||
only: | ||
- master | ||
- /release-.*/ | ||
|
||
notifications: | ||
- provider: Email | ||
on_build_success: false | ||
on_build_failure: false | ||
on_build_status_changed: false | ||
|
||
install: | ||
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) | ||
|
||
build_script: | ||
- echo "%JL_BUILD_SCRIPT%" | ||
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" | ||
|
||
test_script: | ||
- echo "%JL_TEST_SCRIPT%" | ||
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
f = "radio.png" | ||
using Base64 | ||
|
||
function process_file(f) | ||
a = readchomp(`base64 $f`) | ||
"<!-- $f -->\n<img src='data:image/png;base64,$a'></img>" | ||
a = readchomp(`cat $f`) | ||
"<!-- $f -->\n<img src='data:image/png;base64,$(base64encode(a))'></img>" | ||
end | ||
|
||
process_file(f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.