This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change
1
+ dependencies :
2
+ cache_directories :
3
+ - ~/.asdf
4
+ override :
5
+ # Download and make executable the Atom script
6
+ - curl -s -O https://raw.githubusercontent.com/atom/ci/master/build-package.sh
7
+ - chmod u+x build-package.sh
8
+ # Install and setup Elixir
9
+ - if ! asdf | grep version; then git clone --depth 1 https://github.com/HashNuke/asdf.git ~/.asdf; fi
10
+ - if ! asdf plugin-list | grep erlang; then asdf plugin-add erlang https://github.com/HashNuke/asdf-erlang.git; fi
11
+ - if ! asdf plugin-list | grep elixir; then asdf plugin-add elixir https://github.com/HashNuke/asdf-elixir.git; fi
12
+ - echo "erlang 19.2" >> .tool-versions
13
+ - echo "elixir 1.4.0" >> .tool-versions
14
+ - erlang_version=$(awk '/erlang/ { print $2 }' .tool-versions) && asdf install erlang ${erlang_version}
15
+ - elixir_version=$(awk '/elixir/ { print $2 }' .tool-versions) && asdf install elixir ${elixir_version}
16
+
17
+ test :
18
+ override :
19
+ - elixir --version
20
+ - ./build-package.sh
21
+
22
+ machine :
23
+ environment :
24
+ APM_TEST_PACKAGES : " language-elixir"
25
+ PATH : " $HOME/.asdf/bin:$HOME/.asdf/shims:$PATH"
You can’t perform that action at this time.
0 commit comments