The ALICE detector is well suited to measure heavy-flavour (charm and beauty)
production via hadronic and semi-leptonic decay channels of heavy-flavour
particles. Here an overview of heavy-flavour measurements made with the ALICE
detector during Run 1 in pp and p--Pb collisions is presented and discussed.Comment: Proceedings of 55th International Winter Meeting on Nuclear Physics,
Bormio, Italy, 23-27 January 2017. 10 pages, 6 figure